Skip to content

Commit

Permalink
Clean up trace writer error messages (#412)
Browse files Browse the repository at this point in the history
PR-URL: #412
  • Loading branch information
matthewloring authored Feb 23, 2017
1 parent 2cca378 commit 08095ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trace-writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ TraceWriter.prototype.publish_ = function(projectId, json) {
}, function(err, response, body) {
if (err) {
that.logger_.error('TraceWriter: error: ',
((response && response.statusCode) || '') + '\n' + err.message + '\n' + err.stack);
((response && response.statusCode) || '') + '\n' + err.stack);
} else {
that.logger_.info('TraceWriter: published. statusCode: ' + response.statusCode);
}
Expand Down

0 comments on commit 08095ae

Please sign in to comment.