Add log when connection not added.

pull/1952/head
Brett Wooldridge 3 years ago
parent 3bd0b70cea
commit fbd2a18910

@ -735,7 +735,10 @@ public final class HikariPool extends PoolBase implements HikariPoolMXBean, IBag
}
}
finally {
if (added && loggingPrefix != null) logPoolState(loggingPrefix);
if (added && loggingPrefix != null)
logPoolState(loggingPrefix);
else
logPoolState("Connection not added, ");
}
// Pool is suspended, shutdown, or at max size

Loading…
Cancel
Save