-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative to RxJavaErrorHandler #4566
Comments
The documentation on the Wiki is probably outdated. If you look at the java doc of
😄 |
Hi and thanks for the feedback. Those articles are a bit outdated and will be updated in a few days to better reflect the current status with 1.2.
There is not much to that method. By default, undeliverable exceptions are routed to |
Thank you both for the feedback. |
Updated the Plugins wiki page. Let me know if it's adequate for you. |
@akarnokd Yes, that makes things a lot more clear. Thank you! |
I'd like to catch unhandled errors that arise from Observables globally.
The documentation here suggests to use
RxJavaPlugins.getInstance().registerErrorHandler
, but bothgetInstance
andRxJavaErrorHandler
are deprecated with no hints as what to use instead.The documentation on error handling in RxJava here also has no mention of globally handling errors.
I did find
RxJavaHooks.setOnError
, but I have not found any documentation on this, so I was unsure whether it should be used.Is this still on-going work or can anyone suggest what to use as an alternative to
registerErrorHandler
?The text was updated successfully, but these errors were encountered: