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 3743351 commit fee061bCopy full SHA for fee061b
core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/async/FileAsyncResponseTransformer.java
@@ -80,7 +80,7 @@ public void exceptionOccurred(Throwable throwable) {
80
try {
81
invokeSafely(fileChannel::close);
82
} finally {
83
- invokeSafely(() -> Files.delete(path));
+ invokeSafely(() -> Files.deleteIfExists(path));
84
}
85
cf.completeExceptionally(throwable);
86
0 commit comments