diff --git a/lib/moped/node.rb b/lib/moped/node.rb
index <HASH>..<HASH> 100644
--- a/lib/moped/node.rb
+++ b/lib/moped/node.rb
@@ -502,7 +502,7 @@ module Moped
       instrument_start = (logger = Moped.logger) && logger.debug? && Time.new
       yield
     ensure
-      log_operations(logger, operations, Time.new - instrument_start) if instrument_start && !$!
+      log_operations(logger, operations, Time.new - instrument_start) if instrument_start
     end
 
     def log_operations(logger, ops, duration)
Log even if end of file reached.