Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(WebSocketConnection): make errors in event handlers throw again
The error from something like client.on('ready', () => undefined.f); would just be emitted as debug event instead of being thrown. Simply moving the emitting part out of the try catch again solves this.
- Loading branch information