summary refs log tree commit diff
path: root/synapse/config/__main__.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-27 23:39:45 +1000
committerGitHub <noreply@github.com>2018-09-27 23:39:45 +1000
commita512e637ac0df0d32559af64418691a2829800a6 (patch)
treea7c14c4053e9a051d13b53c5c03391183e64ef34 /synapse/config/__main__.py
parentRun our oldest supported configuration in CI (#3952) (diff)
parentUpdate 3970.bugfix (diff)
downloadsynapse-a512e637ac0df0d32559af64418691a2829800a6.tar.xz
Merge pull request #3970 from schnuffle/develop-py3
Replaced all occurences of e.message with str(e)
Diffstat (limited to 'synapse/config/__main__.py')
-rw-r--r--synapse/config/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/__main__.py b/synapse/config/__main__.py
index 58c97a70af..8fccf573ee 100644
--- a/synapse/config/__main__.py
+++ b/synapse/config/__main__.py
@@ -25,7 +25,7 @@ if __name__ == "__main__":
         try:
             config = HomeServerConfig.load_config("", sys.argv[3:])
         except ConfigError as e:
-            sys.stderr.write("\n" + e.message + "\n")
+            sys.stderr.write("\n" + str(e) + "\n")
             sys.exit(1)
 
         print (getattr(config, key))