Skip to content

Commit

Permalink
replaced the log with the callback response
Browse files Browse the repository at this point in the history
  • Loading branch information
hguillermo committed Mar 27, 2013
1 parent 8f432b4 commit 3ea6abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/calais.js
Expand Up @@ -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);

Expand Down

0 comments on commit 3ea6abc

Please sign in to comment.