mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-24 23:56:36 +00:00
No effective change - improved logging when PooledConnection.close() throws exception
This commit is contained in:
@@ -326,7 +326,7 @@ public class PooledConnection extends ConnectionDelegator {
|
||||
connection.close();
|
||||
} catch (SQLException ex) {
|
||||
if (logErrors || logger.isDebugEnabled()) {
|
||||
logger.error("Error when fully closing connection [" + getNameSlot() + "]", ex);
|
||||
logger.error("Error when fully closing connection [" + getFullDescription() + "]", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user