This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 6dd483ea8cf CAMEL-19770: cleanup catches of Throwable in
camel-report-maven-plugin
6dd483ea8cf is described below
commit 6dd483ea8cf2eea4a43c8d8e1300c241e319d703
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Fri Nov 10 11:33:32 2023 +0100
CAMEL-19770: cleanup catches of Throwable in camel-report-maven-plugin
---
.../apache/camel/maven/htmlxlsx/process/CoverageResultsProcessor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/htmlxlsx/process/CoverageResultsProcessor.java
b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/htmlxlsx/process/CoverageResultsProcessor.java
index c865afbcd2c..5f377269934 100644
---
a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/htmlxlsx/process/CoverageResultsProcessor.java
+++
b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/htmlxlsx/process/CoverageResultsProcessor.java
@@ -225,7 +225,7 @@ public class CoverageResultsProcessor {
if (route.getExchangesTotal() >
mappedRoute.getExchangesTotal()) {
routeMap.put(routeId, route);
}
- } catch (Throwable t) {
+ } catch (Exception t) {
// this is an edge case that needs to be identified. Log
some useful debugging information.
System.out.println(t.getClass().toString());
System.out.printf("routeID: %s%n", routeId);