lib/mongo/retryable.rb in mongo-2.14.1 vs lib/mongo/retryable.rb in mongo-2.15.0.alpha
- old
+ new
@@ -475,10 +475,10 @@
message = if options && options[:message]
options[:message]
else
"Retry"
end
- Logger.logger.warn "#{message} due to: #{e.class.name} #{e.message}"
+ Logger.logger.warn "#{message} due to: #{e.class.name}: #{e.message}"
end
# Retry writes on MMAPv1 should raise an actionable error; append actionable
# information to the error message and preserve the backtrace.
def raise_unsupported_error(e)