RxDogTag - RxJava 오류 시, 스택 트레이스를 알아보기 쉽게
https://github.com/uber/RxDogTag
Uber에서 RxDogTag 을 출시했습니다.
RxJava를 쓰다가 에러가 발생했을 때, 아래와 같이 알아보기 힘든 로그가 나옵니다.
io.reactivex.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | The mapper function returned a null value. ...
|
내가 작성한 코드가 어느 부분인지 표시되지 않고, 어느 라인에서 에러가 발생했는지 쉽게 알기 어렵습니다.
이런 알아보기 힘든 Rx 스택 트레이스를, RxDogTag는 이렇게 알아보기 쉽게 바꿔줍니다.
위 로그를 보면 ReadMeExample.java 의 55 라인에서 에러가 발생한 것을 정확하게 알 수 있습니다.