Skip to content

Commit

Permalink
Do not swallow reporting exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ciis0 authored Mar 9, 2023
1 parent dcbca86 commit d63efda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void save(final ArtifactMetadata metadata, final OutputReport outputRepor
return;
}
} catch (final Exception e) {
throw new OperationFailedException("Failed to write report " + outputReport.getType());
throw new OperationFailedException("Failed to write report " + outputReport.getType(), e);
}

// No appropriate writer found for report
Expand Down

0 comments on commit d63efda

Please sign in to comment.