Sha256: 713ad9e33f9219bd3190b3308b64b447ba9cda5410ef141ce7c9fecc95e7b1cb
Contents?: true
Size: 471 Bytes
Versions: 7
Compression:
Stored size: 471 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 return unless (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
7 entries across 7 versions & 1 rubygems