module MandrillQueue::Hooks
Public Instance Methods
on_failure_logging(error, message)
click to toggle source
# File lib/mandrill_queue/worker/hooks.rb, line 9 def on_failure_logging(error, message) s = StringIO.new PP.pp(message, s) s.rewind logging.error <<-TXT.strip #{'=' * 50} An exception has occurred for the following message:\n#{pretty(message)} TXT logging.error(error) logging.error('=' * 50) end