en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

Remove use of error.message in onerror()

Open wdscxsj opened this issue 3 years ago • 0 comments

The event type for onerror() is a vanilla Event that has no message property (or anything interesting about the error). Further info from this StackOverflow question: Javascript doesn't catch error in WebSocket instantiation.

wdscxsj avatar Oct 14 '22 07:10 wdscxsj