class ExceptionNotification::Sidekiq
Public Instance Methods
call(worker, msg, queue) { || ... }
click to toggle source
# File lib/exception_notification/sidekiq.rb, line 7 def call(worker, msg, queue) begin yield rescue Exception => exception ExceptionNotifier.notify_exception(exception, :data => { :sidekiq => msg }) raise exception end end