lib/slf4r/abstract_logger_facade.rb in slf4r-0.1.1 vs lib/slf4r/abstract_logger_facade.rb in slf4r-0.2.0
- old
+ new
@@ -2,10 +2,10 @@
class AbstractLoggerFacade
protected
def format(exception)
- ": #{exception.message}:\n\t#{exception.backtrace.join("\n\t")}" if exception
+ (": #{exception.message}:\n\t#{exception.backtrace.join("\n\t") if exception.backtrace }") if exception
end
def _debug(msg)
raise NotImplementedError
end