From cbb174658790b47faf68ed56343d0d001acea59e Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Fri, 19 Dec 2014 10:02:53 -0500 Subject: [PATCH] NIFI-185: Improved error message --- .../java/org/apache/nifi/controller/StandardProcessorNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java b/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java index 451dcfe411..071be4d948 100644 --- a/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java +++ b/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java @@ -1024,7 +1024,7 @@ public class StandardProcessorNode extends ProcessorNode implements Connectable for (final Relationship relationship : getUndefinedRelationships()) { if (!isAutoTerminated(relationship)) { final ValidationResult error = new ValidationResult.Builder() - .explanation(relationship.getName() + " is not defined") + .explanation("Relationship '" + relationship.getName() + "' is not connected to any component and is not auto-terminated") .subject("Relationship " + relationship.getName()) .valid(false) .build();