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:
parent
96e0701ed2
commit
962c7c0908
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue