summary refs log tree commit diff
path: root/synapse/http/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/http/server.py')
-rw-r--r--synapse/http/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py
index 1b936b6892..682b6b379b 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -129,7 +129,7 @@ def request_handler(request_handler):
                         500,
                         {
                             "error": "Internal server error",
-                            "errcode": Codes.M_UNKNOWN,
+                            "errcode": Codes.UNKNOWN,
                         },
                         send_cors=True
                     )