ng2-signalr
ng2-signalr copied to clipboard
How To Catch WebSocket Connection Error
Is it possible to trap this type of connection error (which is output to the Chrome console): WebSocket connection to 'ws://web-api-dev.azurewebsites.net/signalr/reconnect?transport=webSockets&groupsToken=...&connectionData=[{"name":"workeravailableshifthub"}]&tid=4' failed: WebSocket is closed before the connection is established.
I currently catch and log every error but can't find a way to catch this one.