Skip to content

Commit

Permalink
[#4510] fixed kie config center can not record fail state when connec…
Browse files Browse the repository at this point in the history
…t exception problem (#4512)
  • Loading branch information
chengyouling authored Sep 6, 2024
1 parent 6406335 commit 42cc6c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public ConfigurationsResponse queryConfigurations(ConfigurationsRequest request,
"read response failed. status:" + httpResponse.getStatusCode() + "; message:" +
httpResponse.getMessage() + "; content:" + httpResponse.getContent());
} catch (Exception e) {
addressManager.recordFailState(address);
LOGGER.error("query configuration from {} failed, message={}", url, e.getMessage());
throw new OperationException("read response failed. ", e);
}
Expand Down

0 comments on commit 42cc6c9

Please sign in to comment.