mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 21:34:57 -04:00
Fix validate_config on nested objects (#9054)
This commit is contained in:
parent
fa5f5cbc74
commit
d32870ffa5
3 changed files with 55 additions and 1 deletions
|
@ -56,7 +56,7 @@ def json_error_to_config_error(
|
|||
"""
|
||||
# copy `config_path` before modifying it.
|
||||
path = list(config_path)
|
||||
for p in list(e.path):
|
||||
for p in list(e.absolute_path):
|
||||
if isinstance(p, int):
|
||||
path.append("<item %i>" % p)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue