MatrixSynapse/synapse/config
Richard van der Hoff ab7a24cc6b
Better formatting for config errors from modules (#8874)
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.
2020-12-08 14:04:35 +00:00
..
__init__.py
__main__.py
_base.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
_base.pyi Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
_util.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
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 Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
password.py
password_auth_providers.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
push.py
ratelimiting.py
redis.py
registration.py
repository.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
room.py
room_directory.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
saml2_config.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
server.py
server_notices_config.py
spam_checker.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
sso.py
stats.py
third_party_event_rules.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
tls.py
tracer.py
user_directory.py
voip.py
workers.py