AndroidKnife / RxBus

Event Bus By RxJava.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No onError handle by default?

YamLee opened this issue · comments

When subscribed method(method annotated by @subscribe) throw a RuntimeException,RxBus didn't add the onError callback to handle and just throw the exception to App.I think if there is a global method such as RxBus.getInstance().addErrorHandler()or RxBus.getInstance.setDebug(true) provide to client which give client to handle the error or RxBus handle the error by default with release status, that could be better