Commit 7482f69
Remove use of error.message in onerror()
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](https://stackoverflow.com/questions/31002592/javascript-doesnt-catch-error-in-websocket-instantiation/31003057#31003057).1 parent 7d84210 commit 7482f69
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments