diff --git a/de.philippkatz.knime.jsondocgen.application/src/de/philippkatz/knime/jsondocgen/JsonNodeDocuGenerator.java b/de.philippkatz.knime.jsondocgen.application/src/de/philippkatz/knime/jsondocgen/JsonNodeDocuGenerator.java index c1a9906..fd88304 100644 --- a/de.philippkatz.knime.jsondocgen.application/src/de/philippkatz/knime/jsondocgen/JsonNodeDocuGenerator.java +++ b/de.philippkatz.knime.jsondocgen.application/src/de/philippkatz/knime/jsondocgen/JsonNodeDocuGenerator.java @@ -656,7 +656,7 @@ private static boolean isStreamable(NodeModel nodeModel) { } } catch (NoSuchMethodException e) { // this should never happen, as the method is implemented by the NodeModel class - LOGGER.error(String.format("No createStreamableOperator method in %s", nodeModel.getClass().getName()), e); + LOGGER.warn(String.format("No createStreamableOperator method in %s", nodeModel.getClass().getName())); } return false; } @@ -673,7 +673,7 @@ private static Optional getBundleName(NodeFactory nodeFactory) { method.setAccessible(true); return (Optional) method.invoke(nodeFactory); } catch (ReflectiveOperationException | IllegalArgumentException e) { - LOGGER.error(String.format("Could not call getBundleName for %s", nodeFactory.getClass().getName()), e); + LOGGER.warn(String.format("Could not call getBundleName for %s: %s", nodeFactory.getClass().getName(), e.getMessage())); return Optional.empty(); } }