You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when you push invalid data into stream that is not the regular msgpack format, an errror will be thrown and the node process will die.
I found no way to catch this error. (trycatch doesn't work, neither does the error event listener).
C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\flex-buffer.js:52
if (e && e.message != BUFFER_SHORTAGE) throw e;
^
Error: Invalid type: 0xc1
at decode (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\re
ad-core.js:24:22)
at map_to_obj (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\li
b\read-format.js:52:12)
at C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\read-token
.js:153:12
at decode (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\re
ad-core.js:25:12)
at map_to_obj (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\li
b\read-format.js:51:12)
at C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\read-token
.js:153:12
at decode (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\re
ad-core.js:25:12)
at map_to_obj (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\li
b\read-format.js:51:12)
at C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\read-token
.js:153:12
at decode (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\re
ad-core.js:25:12)
at map_to_obj (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\li
b\read-format.js:51:12)
at C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\read-token
.js:153:12
at decode (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\re
ad-core.js:25:12)
at map_to_obj (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\li
b\read-format.js:51:12)
at C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\read-token
.js:153:12
at decode (C:\Users\Administrator\Desktop\WsServer\node_modules\msgpack-lite\lib\re
ad-core.js:25:12)
The text was updated successfully, but these errors were encountered:
hzqst
changed the title
Unhandled error thrown while decoding stream with flowing mode
Unhandled error thrown when decoding stream with invalid data
Jul 26, 2017
when you push invalid data into stream that is not the regular msgpack format, an errror will be thrown and the node process will die.
I found no way to catch this error. (trycatch doesn't work, neither does the error event listener).
The text was updated successfully, but these errors were encountered: