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
Following [1], any exception in a user-provided event listener would
get caught in the try...catch of the decoder and result in the
reconnection of the socket.
[1]: c597023
Related:
- #1551
- #1554
- #1557
when the code inside a .on('someevent',handler) handler fails, a "parse" error occurs, which is silently dropped and the connection is closed.
Solution: have a on('parse_error',data,error) event.
code from manager.ts which silently drops the "e" :
The text was updated successfully, but these errors were encountered: