Open Ranguna opened 6 years ago
When a middleware is registered to a ws path, if it fails assert(false), node doesn't break and it simply fails silently.
assert(false)
Node should break the server whenever an error occurres.
Same as https://github.com/HenningM/express-ws/issues/87 but it's still a valid point. Silent errors suck. There's a similar sucky issue with the inablity to handle errors thrown inside websocket events
When a middleware is registered to a ws path, if it fails
assert(false)
, node doesn't break and it simply fails silently.Node should break the server whenever an error occurres.