Permalink
Browse files

Forces protocol error state to be "protocol_error"

  • Loading branch information...
1 parent c1c6681 commit 9ff1d162ee3cbf6f9d3aba147ca786146043522a @dresende dresende committed Dec 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Connection.js
View
@@ -141,7 +141,7 @@ Connection.prototype._handleNetworkError = function(err) {
};
Connection.prototype._handleProtocolError = function(err) {
- this.state = err.message || "protocol_error";
+ this.state = "protocol_error";
this.emit('error', err);
};

0 comments on commit 9ff1d16

Please sign in to comment.