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

Revert "Revert "Use ExceptionNotifier.notify_exception""

This reverts commit 965f8b28ec.
This commit is contained in:
Wes Morgan 2013-06-24 13:28:21 -06:00
parent 8410f99054
commit d6629db803

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