Skip to content

Commit

Permalink
Don't call toString() on the error object.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Oct 22, 2011
1 parent 5220ba3 commit aa4311c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core.js
Expand Up @@ -132,7 +132,7 @@ BuildbotGithub.prototype._handleTriggerComment = function(payload) {

function(err) {
if (err) {
log.errorf('Sending changes failed: ${err}', {'err': err.toString()});
log.errorf('Sending changes failed: ${err}', {'err': err)});
return;
}

Expand Down

0 comments on commit aa4311c

Please sign in to comment.