summary refs log tree commit diff
path: root/synapse/app/media_repository.py
diff options
context:
space:
mode:
authorSchnuffle <schnuffle@gotec-cafe.de>2018-09-27 13:38:50 +0200
committerSchnuffle <schnuffle@gotec-cafe.de>2018-09-27 13:38:50 +0200
commitdc5db01ff25dac6ec74ceea9b4d815a8c43cd7dd (patch)
tree7d60636ecf51d8cfef4340326b99b6506f4cccfd /synapse/app/media_repository.py
parentMerge pull request #3963 from matrix-org/rav/get_state_for_room_docstring (diff)
downloadsynapse-dc5db01ff25dac6ec74ceea9b4d815a8c43cd7dd.tar.xz
Replaced all occurences of e.message with str(e)
Signed-off-by: Schnuffle  <schnuffle@github.com>
Diffstat (limited to 'synapse/app/media_repository.py')
-rw-r--r--synapse/app/media_repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/media_repository.py b/synapse/app/media_repository.py
index 992d182dba..acc0487adc 100644
--- a/synapse/app/media_repository.py
+++ b/synapse/app/media_repository.py
@@ -133,7 +133,7 @@ def start(config_options):
             "Synapse media repository", config_options
         )
     except ConfigError as e:
-        sys.stderr.write("\n" + e.message + "\n")
+        sys.stderr.write("\n" + str(e) + "\n")
         sys.exit(1)
 
     assert config.worker_app == "synapse.app.media_repository"