Skip to content

Commit 593ab6d

Browse files
Refactor HttpAPIClientHelper to improve response cleanup handling. Logging for unexpected exceptions
1 parent 617dcbb commit 593ab6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client-v2/src/main/java/com/clickhouse/client/api/internal/HttpAPIClientHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ public ClassicHttpResponse executeRequest(Endpoint server, Map<String, Object> r
475475
throw e;
476476
} catch (Exception e) {
477477
closeQuietly(httpResponse);
478+
LOG.debug("Failed to execute request to '{}': {}", server.getBaseURL(), e.getMessage(), e);
478479
throw e;
479480
}
480481
}

0 commit comments

Comments
 (0)