Class: Periodically::ErrorHandler::LoggingHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/periodically/error_handler.rb

Instance Method Summary collapse

Instance Method Details

#call(err, instance) ⇒ Object



20
21
22
# File 'lib/periodically/error_handler.rb', line 20

def call(err, instance)
  Periodically.logger.warn("Job instance[#{instance}] execution raised an exception\n#{err.message}")
end