Skip to content

Commit

Permalink
move adding data to error to right before sending to rollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Anandkumar Patel committed Oct 13, 2016
1 parent 5925b51 commit 4c5b1c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ class Worker {
.finally(() => {
this._incMonitor('ponos.finish-error', { result: 'retry-error' })
throw new WorkerStopError('final retry handler finished', {
originalError: err,
queue: this.queue,
job: this.job,
attempt: this.attempt
Expand Down

0 comments on commit 4c5b1c7

Please sign in to comment.