UnownHash / Rotom

9 stars 7 forks source link

fix: catch ws errors #36

Open TurtIeSocks opened 7 months ago

TurtIeSocks commented 7 months ago

Adds listeners to catch websocket error events. Despite the capitalization differences, this follows what is in the codebase.

jfberry commented 7 months ago

The example I saw said this had to be set inside the connection event; not sure if this actually works. If you are seeing these errors frequently perhaps you'll be able to see the log entries?

TurtIeSocks commented 7 months ago

I haven't had any of the errors that prompted this PR a few days ago but I think this PR is harmless enough and will capture the errors if they do ever show up. Fine to merge @jfberry ?

Fabio1988 commented 2 months ago

wonder what's the state of this one is?! :D