MatrixSynapse/synapse/util
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
..
caches Implement and use an @lru_cache decorator (#8595) 2020-10-30 11:43:17 +00:00
__init__.py Remove frozendict_json_encoder and support frozendicts everywhere 2020-10-28 15:56:57 +00:00
async_helpers.py
daemonize.py
distributor.py
file_consumer.py
frozenutils.py Remove frozendict_json_encoder and support frozendicts everywhere 2020-10-28 15:56:57 +00:00
hash.py
httpresourcetree.py
iterutils.py
jsonobject.py
logcontext.py
logformatter.py
manhole.py
metrics.py Expose a `get_resource_usage` method in `Measure` 2020-09-29 17:35:20 +01:00
module_loader.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
msisdn.py
patch_inline_callbacks.py
ratelimitutils.py
retryutils.py Tell Black to format code for Python 3.5 (#8664) 2020-10-27 23:26:36 +00:00
rlimit.py
stringutils.py
threepids.py
versionstring.py
wheel_timer.py