From 3d099b48ac45e6a9b9cb7afb97736aa742ae309e Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Mon, 16 Sep 2019 13:28:30 -0400 Subject: [PATCH] Remove unneeded "when" in exception message --- lib/mongo/server/connection_pool.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/server/connection_pool.rb b/lib/mongo/server/connection_pool.rb index 9ef6599c6e..42398fe82c 100644 --- a/lib/mongo/server/connection_pool.rb +++ b/lib/mongo/server/connection_pool.rb @@ -341,7 +341,7 @@ def check_out ) msg = @lock.synchronize do - "Timed out when attempting to check out a connection " + + "Timed out attempting to check out a connection " + "from pool for #{@server.address} after #{wait_timeout} sec. " + "Connections in pool: #{@available_connections.length} available, " + "#{@checked_out_connections.length} checked out, " +