Module: Oboe::Inst::ResqueJob

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

Instance Method Summary collapse

Instance Method Details

#fail_with_oboe(exception) ⇒ Object



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

def fail_with_oboe(exception)
  if Oboe.tracing?
    Oboe::API.log_exception('resque', exception)
  end
  fail_without_oboe(exception)
end