Skip to content

Commit

Permalink
Merge pull request #23 from auth0-extensions/log-error-message-on-fai…
Browse files Browse the repository at this point in the history
…led-retries

Log error message from failed send attempts
  • Loading branch information
zxan1285 authored Jul 1, 2019
2 parents 284be08 + bd96658 commit e29e57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ LogsProcessor.prototype.run = function(handler) {
];

if (options.logger) {
options.logger.error(error[0], error[1]);
options.logger.error(error[0] && error[0].message || error[0], error[1]);
}

// We're giving up.
Expand Down

0 comments on commit e29e57f

Please sign in to comment.