Skip to content

Commit

Permalink
sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Nov 1, 2023
1 parent 62f34c2 commit 2d93f41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ CompletableFuture<Void> downloadIfNecessary(ResourceToDownload resourceToDownloa
LOGGER.info("Finished downloading {} to {}", resourceToDownload.url, resourceToDownload.output);
} catch (Exception e) {
LOGGER.error("Error downloading {} to {}", resourceToDownload.url, resourceToDownload.output, e);
throw e;
throw new IOException("Error downloading " + resourceToDownload.url, e);
} finally {
FileUtils.delete(tmpPath);
}
Expand Down

0 comments on commit 2d93f41

Please sign in to comment.