diff --git a/lib/sidekiq/exception_handler.rb b/lib/sidekiq/exception_handler.rb index 934638da..acaa56bc 100644 --- a/lib/sidekiq/exception_handler.rb +++ b/lib/sidekiq/exception_handler.rb @@ -33,7 +33,7 @@ module Sidekiq end def send_to_exception_notifier(msg, ex) - ::ExceptionNotifier.notify_exception(ex, :data => {:message => msg}) + ::ExceptionNotifier::Notifier.background_exception_notification(ex, :data => { :message => msg }).deliver end end end