Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
reda-alaoui committed May 29, 2024
1 parent 713d8a4 commit 3f35372
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void perform(
throw new AbortException("Unable to post review: " + e.getMessage());
} catch (NullPointerException | IllegalArgumentException | IllegalStateException e) {
LOGGER.log(Level.SEVERE, e, e::getMessage);
throw new AbortException(e.getMessage());
throw new IOException(e.getMessage(), e);

Check warning on line 143 in src/main/java/org/jenkinsci/plugins/sonargerrit/SonarToGerritPublisher.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 143 is not covered by tests
}
}

Expand Down

0 comments on commit 3f35372

Please sign in to comment.