mirror of https://github.com/apache/nifi.git
NIFI-185: Improved error message
This commit is contained in:
parent
713312d9e5
commit
cbb1746587
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue