1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Add job context to retry_exhausted error, #1655

This commit is contained in:
Mike Perham 2014-04-15 08:52:46 -07:00
parent 3ddad3a899
commit 00dada50e1

View file

@ -118,7 +118,7 @@ module Sidekiq
worker.sidekiq_retries_exhausted_block.call(msg)
end
rescue => e
handle_exception(e, { :context => "Error calling retries_exhausted" })
handle_exception(e, { :context => "Error calling retries_exhausted for #{worker}", :job => msg })
end
send_to_morgue(msg) unless msg['dead'] == false