Sha256: 1de601c53e83367986d5708298db27d2c4814d84f4f5f7f4ce3ae9fb1bf4ca73
Contents?: true
Size: 501 Bytes
Versions: 3
Compression:
Stored size: 501 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.0 | lib/airbrake/sneakers.rb |
airbrake-7.2.1 | lib/airbrake/sneakers.rb |
airbrake-7.2.0 | lib/airbrake/sneakers.rb |