lib/toiler/actor/processor.rb in toiler-0.2.8 vs lib/toiler/actor/processor.rb in toiler-0.2.9
- old
+ new
@@ -24,10 +24,10 @@
def on_message(msg)
method, *args = msg
send(method, *args)
rescue StandardError => e
- error "Processor #{queue} failed processing, reason: #{e.class}"
+ error "Processor #{queue} failed processing, reason: #{e.class}\n#{e.backtrace.join("\n")}"
raise e
end
private