diff --git a/lib/sidekiq/exception_handler.rb b/lib/sidekiq/exception_handler.rb index acaa56bc..934638da 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::Notifier.background_exception_notification(ex, :data => { :message => msg }).deliver + ::ExceptionNotifier.notify_exception(ex, :data => {:message => msg}) end end end