MatrixSynapse/synapse/config
Brendan Abolivier cc9eceb00d
Don't crash when one of the configuration files is empty (#7341)
If the admin adds a `.yaml` file that's either empty or doesn't parse into a dict to a config directory (e.g. `conf.d` for debs installs), stuff like https://github.com/matrix-org/synapse/issues/7322 would happen. This PR checks that the file is correctly parsed into a dict, or ignores it with a warning if it parses into any other type (including `None` for empty files).

Fixes https://github.com/matrix-org/synapse/issues/7322
2020-04-27 15:01:03 +02:00
..
__init__.py
__main__.py
_base.py Don't crash when one of the configuration files is empty (#7341) 2020-04-27 15:01:03 +02:00
_base.pyi
api.py
appservice.py
captcha.py
cas.py
consent_config.py
database.py
emailconfig.py
groups.py
homeserver.py
jwt_config.py
key.py
logger.py
metrics.py
password.py
password_auth_providers.py
push.py
ratelimiting.py
redis.py
registration.py
repository.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 Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00