Module: TraceView::Inst::ResqueJob

Defined in:
lib/traceview/inst/resque.rb

Instance Method Summary collapse

Instance Method Details

#fail_with_traceview(exception) ⇒ Object



139
140
141
142
143
144
# File 'lib/traceview/inst/resque.rb', line 139

def fail_with_traceview(exception)
  if TraceView.tracing?
    TraceView::API.log_exception('resque', exception)
  end
  fail_without_traceview(exception)
end