You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2014/12/22 12:59:17 UTC

[05/31] incubator-nifi git commit: NIFI-185: Improved error message

NIFI-185: Improved error message


Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/cbb17465
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/cbb17465
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/cbb17465

Branch: refs/heads/NIFI-182
Commit: cbb174658790b47faf68ed56343d0d001acea59e
Parents: 713312d
Author: Mark Payne <ma...@hotmail.com>
Authored: Fri Dec 19 10:02:53 2014 -0500
Committer: Mark Payne <ma...@hotmail.com>
Committed: Fri Dec 19 10:02:53 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/nifi/controller/StandardProcessorNode.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/cbb17465/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java
----------------------------------------------------------------------
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 451dcfe..071be4d 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();