Add path to failed.append() call

This commit is contained in:
JeremyStar™ 2024-05-11 11:56:14 +02:00
parent 8974d190cd
commit 6926fab873
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -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 }))
for failure in schema_parent[key].failures:
# Append failures from single
failed.append(key + ": " + failure)
failed.append(path + "/" + key + ": " + failure)
return failed