-
Notifications
You must be signed in to change notification settings - Fork 421
Emit error event if other error events are not listened to #704
Conversation
@jsumners I wanted to get your input on this before I go further. I wasn't sure if this would be too much of a breaking change. If they weren't listening to any errors before a |
Seems fair to me. I could argue that this "fixes" a hole in the error handling and therefore isn't a major change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Should we try to squeeze some docs in somewhere?
It looks like only |
Ya, I will add docs to this before merging. |
LGTM |
Please include a minimal reproducible example |
Emit error event if other error events are not listened to.
Currently if someone wants to catch client errors they have to subscribe to multiple error events
This PR will allow them to just subscribe to the
error
event to catch all of them but still allow them to subscribe to more if they want to.TODO: