mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - improved logging when PooledConnection.close() throws exception
This commit is contained in:
1 parent
6aa915b420
commit
24be907dc5
1 file changed
+1
-1
@@ -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