Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve error logging.

  • Loading branch information...
commit 6b05451cd24f0625cf02fe7df2c68ecc43b288ad 1 parent de1e059
@mythmon mythmon authored
Showing with 2 additions and 2 deletions.
  1. BIN  .swp
  2. +0 −2  standup-irc.js
  3. +2 −0  utils.js
View
BIN  .swp
Binary file not shown
View
2  standup-irc.js
@@ -138,8 +138,6 @@ var commands = {
});
ret.on('error', function(err, data) {
client.say(channel, 'Uh oh, something went wrong.');
- logger.error('Problem adding status: ' + err + ' ' +
- JSON.stringify(data));
});
},
View
2  utils.js
@@ -80,6 +80,8 @@ function request(path, method, data, emitter) {
});
req.end(body);
req.on('error', function(e) {
+ logger.error(options.host + ':' + options.port + options.path +
+ ': ' + JSON.stringify(data));
emitter.emit('error', String(e));
});
Please sign in to comment.
Something went wrong with that request. Please try again.