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.
This commit is contained in:
Richard van der Hoff 2020-01-03 17:11:29 +00:00 committed by GitHub
parent 98247c4a0e
commit e484101306
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 3 deletions

View file

@ -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: