-
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
Exception in onCompleted() not propagate to onError() #630
Comments
Ok the contract is clear. So, I don't understand why in SafeObserver there is this code
It's in contradiction with the grammar and because isFinished is set to true so this call is useless. Why not call a global errorHandler or something like that in the catch ? I don't understand. Regards, |
Ha, yep that code is pretty useless. Kind of funny ... I'll submit a fix shortly. |
benjchristensen
added a commit
to benjchristensen/RxJava
that referenced
this issue
Dec 24, 2013
rickbw
pushed a commit
to rickbw/RxJava
that referenced
this issue
Jan 9, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When an exception occurred in onCompleted() the exception is not propagate to onError().
Code of rx.operators.SafeObserver
In our case isFinished is already TRUE, so onError does nothing.
The text was updated successfully, but these errors were encountered: