summary refs log tree commit diff
path: root/synapse/app/synctl.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/app/synctl.py')
-rwxr-xr-xsynapse/app/synctl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py
index c045588866..81510bc5c1 100755
--- a/synapse/app/synctl.py
+++ b/synapse/app/synctl.py
@@ -175,7 +175,8 @@ def main():
         worker_app = worker_config["worker_app"]
         worker_pidfile = worker_config["worker_pid_file"]
         worker_daemonize = worker_config["worker_daemonize"]
-        assert worker_daemonize  # TODO print something more user friendly
+        assert worker_daemonize, "In config %r: expected '%s' to be True" % (
+            worker_configfile, "worker_daemonize")
         worker_cache_factor = worker_config.get("synctl_cache_factor")
         workers.append(Worker(
             worker_app, worker_configfile, worker_pidfile, worker_cache_factor,