No effective change - improved logging when PooledConnection.close() throws exception

This commit is contained in:
rbygrave
2015-05-29 20:39:54 +12:00
parent 6aa915b420
commit 24be907dc5
@@ -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);
}
}
}