Permalink
Browse files

socket: ignore msgpack decode errors for now

  • Loading branch information...
1 parent 34db3ab commit 7a5a5f0657979480c5dfcfb7649ae1a7d80a3c49 @indutny committed Sep 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit 7a5a5f0

Please sign in to comment.