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