Describe the bug
If server send bad json, Websocket just close connection without any error,reason etc
in vanila websocket json throw error
Expected behavior
just report error, do not close connection
but must log error
or put try catch on JSON.parse(message.data)
Reproduction code
No response
Reproduction URL
No response
Version
7.4.0
Environment
No response
Additional context
No response