-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Error Handling #3072
Comments
it is known behavior of unhandled subscriber can stop upstream sources, and for those reason we have introduced #3062 to follow TC39 proposal - and as it's breaking changes we're targeting next major for this. |
For anyone else who's had the same issue, we've come up with a temporary fix that works for our use case:
|
Consolidating the discussion to #2145 (though there's nothing actionable, its as-designed in v5 and v6 changes it) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
RxJS version:
5.5
Code to reproduce:
Expected behavior:
All subscriptions should receive error events.
Actual behavior:
A race condition is created where only the first subscribers receive an error event. Once one subscribe doesn't override the default error handler an error is thrown and code execution is halted.
Additional information:
This is been an issue for us when dealing with XML requests. Some of our code relies on receiving an error event. In our codebase we now have to be very careful and can't rely on publicly exposed observables to receive errors.
The text was updated successfully, but these errors were encountered: