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

Use ExceptionNotifier.notify_exception

This will handle ignored exceptions
This commit is contained in:
Steve Randy Tantra 2013-05-06 08:15:07 +08:00
parent 96e0701ed2
commit 962c7c0908

View file

@ -33,7 +33,7 @@ module Sidekiq
end
def send_to_exception_notifier(msg, ex)
::ExceptionNotifier::Notifier.background_exception_notification(ex, :data => { :message => msg }).deliver
::ExceptionNotifier.notify_exception(ex, :data => {:message => msg})
end
end
end