DescriptionClean up error message in schema-based policy validation
Make the error message a little bit more readable.
Old example:
"Dropping policy Undeclared for aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa because it's not valid: The schema is invalid. at "
Example after the change:
"Dropping policy Undeclared of component aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa due to error at root: The schema is invalid."
BUG=none
TEST=none
Committed: https://crrev.com/4372393deb7e34ba940a3687910df7f7ff128e53
Cr-Commit-Position: refs/heads/master@{#435921}
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
|