diff options
Diffstat (limited to 'lib/webrick/log.rb')
-rw-r--r-- | lib/webrick/log.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/log.rb b/lib/webrick/log.rb index 0ffa12dd96..550f9f56d6 100644 --- a/lib/webrick/log.rb +++ b/lib/webrick/log.rb @@ -60,7 +60,7 @@ module WEBrick private def format(arg) - str = if arg.is_a?(Exception) + if arg.is_a?(Exception) "#{arg.class}: #{arg.message}\n\t" << arg.backtrace.join("\n\t") << "\n" elsif arg.respond_to?(:to_str) |