summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-03 17:11:29 +0000
committerGitHub <noreply@github.com>2020-01-03 17:11:29 +0000
commite484101306787988adacf6d6de4fcd565368dec4 (patch)
treece1658b5c1731136fa684b14bcde2ab228454ff7 /synapse/app/homeserver.py
parentRemove unused, undocumented "content repo" resource (#6628) (diff)
downloadsynapse-e484101306787988adacf6d6de4fcd565368dec4.tar.xz
Raise an error if someone tries to use the log_file config option (#6626)
This has caused some confusion for people who didn't notice it going away.
Diffstat (limited to 'synapse/app/homeserver.py')
-rw-r--r--synapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 6208deb646..e5b44a5eed 100644
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -310,7 +310,7 @@ def setup(config_options):
             "Synapse Homeserver", config_options
         )
     except ConfigError as e:
-        sys.stderr.write("\n" + str(e) + "\n")
+        sys.stderr.write("\nERROR: %s\n" % (e,))
         sys.exit(1)
 
     if not config: