Skip to content

Commit

Permalink
Merge pull request #12186 from RusJaI/master
Browse files Browse the repository at this point in the history
Add success info log where applicable when several retry attempts to internal API calls failed initially.
  • Loading branch information
RusJaI authored Nov 20, 2023
2 parents a94d823 + eec9265 commit de7d8c0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@ public static CloseableHttpResponse executeHTTPRequestWithRetries(HttpRequestBas
throw new DataLoadingException("Error while retrieving "
+ path + ". Received response with status code "
+ httpResponse.getStatusLine().getStatusCode());
} else if (retryCount > 0) {
log.info("Successfully retrieved " + path);
}
retry = false;
} catch (IOException | DataLoadingException ex) {
Expand Down

0 comments on commit de7d8c0

Please sign in to comment.