Skip to content

Commit 3e70216

Browse files
authored
Remove unneeded "when" in exception message (#1528)
1 parent 584fb4c commit 3e70216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo/server/connection_pool.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def check_out
341341
)
342342

343343
msg = @lock.synchronize do
344-
"Timed out when attempting to check out a connection " +
344+
"Timed out attempting to check out a connection " +
345345
"from pool for #{@server.address} after #{wait_timeout} sec. " +
346346
"Connections in pool: #{@available_connections.length} available, " +
347347
"#{@checked_out_connections.length} checked out, " +

0 commit comments

Comments
 (0)