diff options
Diffstat (limited to 'lib/logger.rb')
-rw-r--r-- | lib/logger.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/logger.rb b/lib/logger.rb index 6c33f7b3be..5c00fe24c2 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -176,7 +176,7 @@ require 'monitor' class Logger VERSION = "1.2.7" - id, name, rev = %w$Id$ + _, name, rev = %w$Id$ if name name = name.chomp(",v") else @@ -530,7 +530,7 @@ private @mutex.synchronize do @dev.close rescue nil end - rescue Exception => ignored + rescue Exception @dev.close rescue nil end end |