You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an error is being propagated in a chain of streams and the current
stream has no listeners attached, xstream would previously silently
swallow the error. This allowed for buggy behavior to pass by silently.
This commit changes the Stream implementation to check, during error
propagation in a chain of stream, whether there are
no listeners attached and simply throw the error in that case.
BREAKING CHANGE:
![maybe
will](https://img.shields.io/badge/will%20it%20affect%20me%3F-maybe%20will-yellow.svg)
This changes the behavior of most xstream code because errors are no
longer swallowed. When you update xstream to this version, you may
experience new errors thrown that you haven't seen before. Upgrade
carefully, keeping in mind that these thrown errors were always there,
but only now are surfaced.
Closes issue #121
Steam.prototype._e swallows errors if no Listener is attached.
It should probably just re-throw the received error, if it can't pass it on.
The text was updated successfully, but these errors were encountered: