Skip to content

Commit

Permalink
Log disconnection reason
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Apr 5, 2012
1 parent 46fdcf0 commit d7b06ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transport.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ Transport.prototype.onClose = function () {

Transport.prototype.end = function (reason) {
if (!this.disconnected) {
this.log.info('transport end');
this.log.info('transport end (' + reason + ')');

var local = this.manager.transports[this.id];

Expand Down

0 comments on commit d7b06ed

Please sign in to comment.