NIFI-185: Improved error message

This commit is contained in:
Mark Payne 2014-12-19 10:02:53 -05:00
parent 713312d9e5
commit cbb1746587
1 changed files with 1 additions and 1 deletions

View File

@ -1024,7 +1024,7 @@ public class StandardProcessorNode extends ProcessorNode implements Connectable
for (final Relationship relationship : getUndefinedRelationships()) { for (final Relationship relationship : getUndefinedRelationships()) {
if (!isAutoTerminated(relationship)) { if (!isAutoTerminated(relationship)) {
final ValidationResult error = new ValidationResult.Builder() 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()) .subject("Relationship " + relationship.getName())
.valid(false) .valid(false)
.build(); .build();