Sha256: 692edb10bd41859bcc5f345abc0f394f3f5818a30ece8752de67916052cfd82e
Contents?: true
Size: 494 Bytes
Versions: 3
Compression:
Stored size: 494 Bytes
Contents
module Airbrake module Sneakers # Provides integration with Sneakers. # # @see https://github.com/jondot/sneakers # @since v7.2.0 class ErrorReporter def call(exception, worker = nil, **context) Airbrake.notify(exception, context) do |notice| notice[:context][:component] = 'sneakers' notice[:context][:action] = worker.class.to_s end end end end end Sneakers.error_reporters << Airbrake::Sneakers::ErrorReporter.new
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
airbrake-7.3.3 | lib/airbrake/sneakers.rb |
airbrake-7.3.2 | lib/airbrake/sneakers.rb |
airbrake-7.3.1 | lib/airbrake/sneakers.rb |