Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't crash when one of the configuration files is empty (matrix-org#…
…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 matrix-org#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 matrix-org#7322
- Loading branch information