in camel-upgrade-recipes/src/main/java/org/apache/camel/upgrade/AbstractCamelYamlVisitor.java [76:83]
protected <T extends Yaml> 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;
}
}