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
  • Loading branch information
chengyouling committed Sep 5, 2024
1 parent d274193 commit 97094de
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 97094de

Please sign in to comment.