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 890738e commit 713d8a4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public void perform(
LOGGER.log(Level.SEVERE, e, () -> "Unable to post review: " + e.getMessage());
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());
}
}
Expand Down

0 comments on commit 713d8a4

Please sign in to comment.