class Airbrake::Sneakers::ErrorReporter

def call(exception, worker = nil, context)

rubocop:disable Style/OptionalArguments
def call(exception, worker = nil, context)
  # Later versions add a middle argument.
  Airbrake.notify(exception, filter_context(context)) do |notice|
    notice[:context][:component] = 'sneakers'
    notice[:context][:action] = worker.class.to_s
  end
end