Croway commented on code in PR #19497:
URL: https://github.com/apache/camel/pull/19497#discussion_r2416813368
##########
catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/htmlxlsx/process/CoverageResultsProcessor.java:
##########
@@ -224,10 +228,9 @@ protected void gatherBestRouteCoverages() {
}
} 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);
- System.out.printf("route: %s%n", route);
- System.out.printf("mappedRoute: %s%n", mappedRoute != null
? mappedRoute.toString() : "null");
+ LOG.error("Error processing route coverage for routeId:
{}", routeId, t);
Review Comment:
This is a maven plugin, is slfj handled somehow?
@squakez @Dekrate
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]