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

Oops, that's an instance

This commit is contained in:
Mike Perham 2014-04-15 08:53:41 -07:00
parent 00dada50e1
commit b639f3711c

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 for #{worker}", :job => msg })
handle_exception(e, { :context => "Error calling retries_exhausted for #{worker.class}", :job => msg })
end
send_to_morgue(msg) unless msg['dead'] == false