lib/message_driver/logging.rb in message-driver-0.2.1 vs lib/message_driver/logging.rb in message-driver-0.2.2
- old
+ new
@@ -3,9 +3,9 @@
def logger
MessageDriver::Broker.logger
end
def exception_to_str(e)
- ([e.to_s] + e.backtrace).join(" \n")
+ (["#{e.class}: #{e.to_s}"] + e.backtrace).join("\n ")
end
end
end