Skip to content

Commit

Permalink
Merge pull request #10 from lboynton/missing-error
Browse files Browse the repository at this point in the history
Display reason for stream error in log
  • Loading branch information
dhruvbird committed Feb 17, 2012
2 parents d6114b0 + 1eb1c49 commit 81b80b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xmpp-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ dutil.copy(XMPPProxy.prototype, {
},

_on_stream_error: function(error) {
log.error("%s %s _on_stream_error - will terminate: %s", this._void_star.session.sid, this._void_star.name);
log.error("%s %s _on_stream_error - will terminate: %s", this._void_star.session.sid, this._void_star.name, error);
this.terminate();
},

Expand Down

0 comments on commit 81b80b1

Please sign in to comment.