Module: Resque::Integration::Backtrace

Defined in:
lib/resque/integration/backtrace.rb

Overview

Extend your job with this class to see full backtrace in resque log

Instance Method Summary collapse

Instance Method Details

#around_perform_backtraceObject



7
8
9
10
11
12
13
# File 'lib/resque/integration/backtrace.rb', line 7

def around_perform_backtrace(*)
  yield
rescue => ex
  $stderr.puts(_format_exception(ex))

  raise
end