summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-01-08 14:23:04 +0000
committerGitHub <noreply@github.com>2021-01-08 14:23:04 +0000
commitd32870ffa5a2353d93e5723787d5f4dcbf14b32d (patch)
tree795e4af092823315d09e9e6d41480fb76f56537d /synapse
parentFix error handling during insertion of client IPs (#9051) (diff)
downloadsynapse-d32870ffa5a2353d93e5723787d5f4dcbf14b32d.tar.xz
Fix validate_config on nested objects (#9054)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/config/_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/_util.py b/synapse/config/_util.py
index 1bbe83c317..8fce7f6bb1 100644
--- a/synapse/config/_util.py
+++ b/synapse/config/_util.py
@@ -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: