Skip to content

Commit

Permalink
https://github.com/apache/camel/security/code-scanning/5628
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Mar 22, 2024
1 parent 5777312 commit 2507a03
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,11 @@ private CompletionStage<?> doExecute(HttpServletRequest req, HttpServletResponse
}

// we want to handle the UoW
consumer.createUoW(exchange);
try {
consumer.createUoW(exchange);
} catch (Exception e) {
exchange.setException(e);
}

boolean isAsync = false;
CompletionStage<?> result = null;
Expand Down

0 comments on commit 2507a03

Please sign in to comment.