We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f391fd3 commit 7a5668fCopy full SHA for 7a5668f
client/rest/src/main/java/org/elasticsearch/client/RestClient.java
@@ -577,7 +577,7 @@ private void retryIfPossible(Exception exception) {
577
long timeout = maxRetryTimeoutMillis - timeElapsedMillis;
578
if (timeout <= 0) {
579
IOException retryTimeoutException = new IOException(
580
- "request retries exceeded max retry timeout [" + maxRetryTimeoutMillis + "]");
+ "request retries exceeded max retry timeout [" + maxRetryTimeoutMillis + "]", exception);
581
listener.onDefinitiveFailure(retryTimeoutException);
582
} else {
583
listener.trackFailure(exception);
0 commit comments