class Airbrake::Sneakers::ErrorReporter

@since v7.2.0
@see github.com/jondot/sneakers<br><br>Provides integration with Sneakers.

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

def filter_context(context)

def filter_context(context)
  return context unless context[:delivery_info]
  h = context.dup
  h[:delivery_info] = context[:delivery_info].reject do |k, _v|
    IGNORED_KEYS.include?(k)
  end
  h
end