Class: Resque::Failure::LogOutput

Inherits:
Base
  • Object
show all
Defined in:
lib/bizside/resque.rb

Instance Method Summary collapse

Instance Method Details

#saveObject



94
95
96
97
98
99
100
101
# File 'lib/bizside/resque.rb', line 94

def save
  Bizside.logger.error [
    "[FATAL] Resque #{queue}:#{worker}",
    "#{payload}",
    "#{exception.class} #{exception.to_s}",
    "#{Array(exception.backtrace).join("\n")}"
  ].join("\n")
end