Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added a default error listener

  • Loading branch information...
commit e82eab872d2a44e57b1dc7fb658176d7eeeb1c93 1 parent cd5550a
@danzajdband authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/tuiter.js
View
2  lib/tuiter.js
@@ -245,5 +245,7 @@ NJStream.prototype.emitAPIEvents = function() {
}
});
+
+ this.on('error', function(){});
this.req.on('response', function(res){ self.res = res; });
};
Please sign in to comment.
Something went wrong with that request. Please try again.