Skip to content
Browse files

missing listener parameter

  • Loading branch information...
1 parent f8c5c90 commit a6c007c141ad5eadfd0c78568a40a52314e96e32 @impronunciable committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/request.js
View
2 lib/request.js
@@ -99,7 +99,7 @@ Tuiter.prototype.get = function(url, params, callback){
});
});
req.end();
- req.on('error', function(){
+ req.on('error', function(error){
callback(null, error);
});
};

0 comments on commit a6c007c

Please sign in to comment.
Something went wrong with that request. Please try again.