Class: Delayed::Worker

Inherits:
Object
  • Object
show all
Defined in:
lib/exceptional/integration/dj.rb

Instance Method Summary collapse

Instance Method Details

#handle_failed_job_with_exceptional(job, e) ⇒ Object



3
4
5
6
7
# File 'lib/exceptional/integration/dj.rb', line 3

def handle_failed_job_with_exceptional(job, e)
  Exceptional.handle(e, "Delayed::Job #{job.name}")
  handle_failed_job_without_exceptional(job, e)
  Exceptional.context.clear!
end