summary refs log tree commit diff
path: root/synapse/util/module_loader.py
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2023-05-18 10:58:13 +0100
committerGitHub <noreply@github.com>2023-05-18 10:58:13 +0100
commite15aa00bc08f68c3a1c1b91f3a59e63554d7aa70 (patch)
treef1ac116b55a43e7adba042116202d322cd8bf178 /synapse/util/module_loader.py
parentAdd a new admin API to create a new device for a user. (#15611) (diff)
downloadsynapse-e15aa00bc08f68c3a1c1b91f3a59e63554d7aa70.tar.xz
Fix error message when `app_service_config_files` validation fails (#15614)
The second argument of `ConfigError` is a path, passed as an optional
`Iterable[str]` and not a `str`. If a string is passed directly,
Synapse unhelpfully emits "Error in configuration at
a.p.p._.s.e.r.v.i.c.e._.c.o.n.f.i.g._.f.i.l.e.s'" when the config
option has the wrong data type.

Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'synapse/util/module_loader.py')
0 files changed, 0 insertions, 0 deletions