Skip to content

Commit

Permalink
Add high level logging for RESTEasy Reactive exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Aug 30, 2022
1 parent b094579 commit 9eac3a1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,11 @@ public void handleException(Throwable t) {

public void handleException(Throwable t, boolean keepSameTarget) {
if (abortHandlerChainStarted) {
log.debug("Attempting to handle unrecoverable exception", t);
handleUnrecoverableError(unwrapException(t));
} else {
this.throwable = unwrapException(t);
log.debug("Restarting handler chain for exception exception", this.throwable);
abortHandlerChainStarted = true;
restart(abortHandlerChain, keepSameTarget);
}
Expand Down

0 comments on commit 9eac3a1

Please sign in to comment.