Skip to content

Commit 60dc564

Browse files
committed
Updated error message to include the number of retries attempted.
1 parent 0a9f8d4 commit 60dc564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ds3-sdk/src/main/java/com/spectralogic/ds3client/helpers/LazyObjectIterable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private void loadCache() {
126126
return;
127127
} catch (final IOException e) {
128128
if (retryAttempt >= retryCount) {
129-
throw new RuntimeException("Failed to get the next set of objects from the getBucket request", e);
129+
throw new RuntimeException("Failed to get the next set of objects from the getBucket request after " + retryCount + " retries", e);
130130
}
131131
retryAttempt++;
132132
}

0 commit comments

Comments
 (0)