mirror of https://github.com/apache/nifi.git
Adding missing subject property on the JsonPath validator.
This commit is contained in:
parent
d6948601cd
commit
caed7f8468
|
@ -57,7 +57,7 @@ public abstract class AbstractJsonPathProcessor extends AbstractProcessor {
|
|||
} catch (InvalidPathException ipe) {
|
||||
error = ipe.toString();
|
||||
}
|
||||
return new ValidationResult.Builder().valid(error == null).explanation(error).build();
|
||||
return new ValidationResult.Builder().subject("JsonPath expression " + subject).valid(error == null).explanation(error).build();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue