module Instana::Instrumentation::ResqueJob
Public Instance Methods
fail(exception)
click to toggle source
Calls superclass method
# File lib/instana/instrumentation/resque.rb, line 96 def fail(exception) if Instana.tracer.tracing? ::Instana.tracer.log_info(:'resque-worker' => { :error => "#{exception.class}: #{exception}"}) ::Instana.tracer.log_error(exception) end rescue Exception => e ::Instana.logger.debug { "#{__method__}:#{File.basename(__FILE__)}:#{__LINE__}: #{e.message}" } if Instana::Config[:verbose] ensure super(exception) end