Parent

Methods

ExceptionNotification::Sidekiq

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.