in camel-upgrade-recipes/src/main/java/org/apache/camel/upgrade/AbstractCamelXmlVisitor.java [45:52]
protected <T extends Xml> T executeVisitWithCatch(Supplier<T> visitMethod, T origValue, ExecutionContext context) {
try {
return visitMethod.get();
} catch (Exception e) {
LOGGER.warn(String.format("Internal error detected in %s, recipe is skipped.", getClass().getName()), e);
return origValue;
}
}