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

Merge pull request #901 from steverandy/master

Use ExceptionNotifier.notify_exception
This commit is contained in:
Mike Perham 2013-05-05 21:35:41 -07:00
commit 235f05f3e0

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