Skip to content

Commit

Permalink
Improve Azure retry logging
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Jun 15, 2023
1 parent cb95920 commit de58697
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ class AzBatchService implements Closeable {
final listener = new EventListener<ExecutionAttemptedEvent<T>>() {
@Override
void accept(ExecutionAttemptedEvent<T> event) throws Throwable {
log.debug("Azure TooManyRequests reponse error - attempt: ${event.attemptCount}", event.lastFailure)
log.debug("Azure TooManyRequests reponse error - attempt: ${event.attemptCount}; reason: ${event.lastFailure.message}")
}
}
return RetryPolicy.<T>builder()
Expand Down

0 comments on commit de58697

Please sign in to comment.