paho.mqtt.javascript icon indicating copy to clipboard operation
paho.mqtt.javascript copied to clipboard

Question: How can i override connection failed message in browser console?

Open akana opened this issue 8 years ago • 0 comments

Currently, we get error message of WebSocket like WebSocket connection to 'wss://abc.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ,...etc.

i want to override this error message with understandable message like Server appears to be offline. How can i achieve it ? any help will be appreciated

akana avatar Aug 22 '17 04:08 akana