Skip to content

Commit

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

0 comments on commit 1c24b31

Please sign in to comment.