Skip to content

Commit

Permalink
do not swallow exception when writing jar
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlietz committed Aug 24, 2023
1 parent 4c4b7f6 commit 8f32139
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private void buildFrom(final Map<String, URL> resources, final Map<String, Strin
build(resources, headers, jarOut);
} catch (IOException e) {
if (!"Pipe closed".equals(e.getMessage())) {
logger.error("Problem while writing jar.", e);
throw new RuntimeException("Problem while writing jar.", e);
}
} finally {
logger.trace("Copy thread finished.");
Expand Down

0 comments on commit 8f32139

Please sign in to comment.