bnadlerjr/hoboken

Sidekiq addon should log a message when all retries have been exhausted

Closed this issue · 0 comments

Define something like this in config/sidekiq.rb

Sidekiq.configure_server do |config|
  config.death_handlers << ->(job, ex) do
    puts "Uh oh, #{job['class']} #{job["jid"]} just died with error #{ex.message}."
  end
end