lib/message_driver/logging.rb in message-driver-0.3.0 vs lib/message_driver/logging.rb in message-driver-0.4.0
- old
+ new
@@ -5,10 +5,10 @@
def logger
MessageDriver.logger
end
def exception_to_str(e)
- (["#{e.class}: #{e.to_s}"] + e.backtrace).join("\n ")
+ (["#{e.class}: #{e}"] + e.backtrace).join("\n ")
end
def message_with_exception(message, e)
[message, exception_to_str(e)].join("\n")
end