Permalink
Browse files

replaced the log with the callback response

  • Loading branch information...
1 parent 8f432b4 commit 3ea6abc486047ba9f8a987104c86e8aa7ed6d7d0 @hguillermo hguillermo committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/calais.js
View
@@ -137,7 +137,7 @@ Calais.prototype = {
}
});
}).on('error', function(e) {
- console.log('Problem with the Open Calais Request (' + e.message + ')');
+ return callback('Problem with the Open Calais Request (' + e.message + ')');
});
req.end(this.options.content);

0 comments on commit 3ea6abc

Please sign in to comment.