lib/celluloid/internals/logger.rb in celluloid-essentials-0.20.0.pre14 vs lib/celluloid/internals/logger.rb in celluloid-essentials-0.20.0.pre15
- old
+ new
@@ -84,10 +84,10 @@
nil
end
# Format an exception message
def format_exception(exception)
- str = "#{exception.class}: #{exception.to_s}\n\t"
+ str = "#{exception.class}: #{exception}\n\t"
if exception.backtrace
str << exception.backtrace.join("\n\t")
else
str << "EMPTY BACKTRACE\n\t"
end