Sha256: 608e03f1637a4147ea5886b0334e95685be8429be9f4b93e9e90588e5473725d
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
module Resque module Failure ## # Provides Resque integration with Airbrake. # # @since v5.0.0 # @see https://github.com/resque/resque/wiki/Failure-Backends class Airbrake < Base def save notice = ::Airbrake.build_notice(exception, payload) notice[:context][:component] = 'resque' notice[:context][:action] = payload['class'].to_s ::Airbrake.notify_sync(notice) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
airbrake-5.7.0 | lib/airbrake/resque/failure.rb |
airbrake-5.7.0.rc.1 | lib/airbrake/resque/failure.rb |