Class: Resque::Failure::Errplane

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

Instance Method Summary collapse

Instance Method Details

#saveObject



10
11
12
13
14
15
16
17
18
# File 'lib/errplane/resque.rb', line 10

def save
  ::Errplane.transmit_unless_ignorable(exception, :custom_data => {
    :resque => {
      :payload => payload,
      :worker => worker.to_s,
      :queue => queue
    }
  })
end