summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-09-02 10:48:05 +0100
committerMark Haines <mark.haines@matrix.org>2014-09-02 10:49:11 +0100
commitd45f89c95b0f61c6b850f73807e9b264796e08a2 (patch)
tree8e30d4bdac4c9c8b4627087a807af8def37f6841 /synapse/config/server.py
parentYet more bullet points on various sections. (diff)
downloadsynapse-d45f89c95b0f61c6b850f73807e9b264796e08a2.tar.xz
More helpful error messages for missing config
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 1f20d55d8f..a406cc892e 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -60,7 +60,7 @@ class ServerConfig(Config):
                                   " service on the given port.")
 
     def read_signing_key(self, signing_key_path):
-        signing_key_base64 = self.read_file(signing_key_path)
+        signing_key_base64 = self.read_file(signing_key_path, "signing_key")
         signing_key_bytes = decode_base64(signing_key_base64)
         return nacl.signing.SigningKey(signing_key_bytes)