Class: Resque::Failure::Airbrake
- Inherits:
-
Base
- Object
- Base
- Resque::Failure::Airbrake
- Defined in:
- lib/airbrake/resque.rb
Overview
Provides Resque integration with Airbrake.
Instance Method Summary collapse
Instance Method Details
#save ⇒ Object
10 11 12 13 14 15 |
# File 'lib/airbrake/resque.rb', line 10 def save ::Airbrake.notify_sync(exception, payload) do |notice| notice[:context][:component] = 'resque' notice[:context][:action] = action(payload) end end |