Module: DistributedResqueWorker::ResqueFailure

Included in:
ResqueWorker
Defined in:
lib/distributed_resque_worker.rb

Overview

ResqueFailure

Instance Method Summary collapse

Instance Method Details

#on_failure_logging(error, *args) ⇒ Object



14
15
16
17
# File 'lib/distributed_resque_worker.rb', line 14

def on_failure_logging(error, *args)
  msg = "Performing #{self} caused an exception #{error} with args #{args}."
  Resque.logger.info msg
end