Add path to failed.append() call
This commit is contained in:
parent
8974d190cd
commit
6926fab873
1 changed files with 1 additions and 1 deletions
|
@ -86,6 +86,6 @@ func _evaluate_recursive(random: String, schema_parent: Dictionary, data_parent:
|
||||||
logger.error(core.stringify_variables("Validation for key %key% failed", { "key": path + "/" + key }))
|
logger.error(core.stringify_variables("Validation for key %key% failed", { "key": path + "/" + key }))
|
||||||
for failure in schema_parent[key].failures:
|
for failure in schema_parent[key].failures:
|
||||||
# Append failures from single
|
# Append failures from single
|
||||||
failed.append(key + ": " + failure)
|
failed.append(path + "/" + key + ": " + failure)
|
||||||
|
|
||||||
return failed
|
return failed
|
||||||
|
|
Loading…
Reference in a new issue