summary refs log tree commit diff
path: root/synapse/config/_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/_util.py')
-rw-r--r--synapse/config/_util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/config/_util.py b/synapse/config/_util.py
index 3edb4b7106..d3a4b484ab 100644
--- a/synapse/config/_util.py
+++ b/synapse/config/_util.py
@@ -33,6 +33,9 @@ def validate_config(
         config: the configuration value to be validated
         config_path: the path within the config file. This will be used as a basis
            for the error message.
+
+    Raises:
+        ConfigError, if validation fails.
     """
     try:
         jsonschema.validate(config, json_schema)