Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

socket: ignore msgpack decode errors for now

  • Loading branch information...
commit 7a5a5f0657979480c5dfcfb7649ae1a7d80a3c49 1 parent 34db3ab
Fedor Indutny authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/vock/socket.js
2  lib/vock/socket.js
View
@@ -213,7 +213,7 @@ Socket.prototype.ondata = function ondata(raw, addr) {
try {
var msg = msgpack.decode(raw);
} catch (e) {
- this.emit('error', e);
+ // Ignore decode errors
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.