ab7a24cc6b
The idea is that the parse_config method of extension modules can raise either a ConfigError or a JsonValidationError, and it will be magically turned into a legible error message. There's a few components to it: * Separating the "path" and the "message" parts of a ConfigError, so that we can fiddle with the path bit to turn it into an absolute path. * Generally improving the way ConfigErrors get printed. * Passing in the config path to load_module so that it can wrap any exceptions that get caught appropriately. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
_base.py | ||
_base.pyi | ||
_util.py | ||
api.py | ||
appservice.py | ||
cache.py | ||
captcha.py | ||
cas.py | ||
consent_config.py | ||
database.py | ||
emailconfig.py | ||
federation.py | ||
groups.py | ||
homeserver.py | ||
jwt_config.py | ||
key.py | ||
logger.py | ||
metrics.py | ||
oidc_config.py | ||
password.py | ||
password_auth_providers.py | ||
push.py | ||
ratelimiting.py | ||
redis.py | ||
registration.py | ||
repository.py | ||
room.py | ||
room_directory.py | ||
saml2_config.py | ||
server.py | ||
server_notices_config.py | ||
spam_checker.py | ||
sso.py | ||
stats.py | ||
third_party_event_rules.py | ||
tls.py | ||
tracer.py | ||
user_directory.py | ||
voip.py | ||
workers.py |