Class: Resque::Failure::Airbrake

Inherits:
Base
  • Object
show all
Defined in:
lib/airbrake/resque/failure.rb

Overview

Provides Resque integration with Airbrake.

Instance Method Summary collapse

Instance Method Details

#saveObject

Since:

  • v5.0.0


9
10
11
12
13
14
15
16
# File 'lib/airbrake/resque/failure.rb', line 9

def save
  params = payload.merge(
    component: 'resque',
    action: payload['class'].to_s
  )

  ::Airbrake.notify_sync(exception, params)
end