summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-08-03 23:19:13 +0100
committerNeil Johnson <neil@fragile.org.uk>2018-08-03 23:19:13 +0100
commite40a510fbff931b5e6b295351847b95fb8c69e71 (patch)
treea5e36042389f2baa2685c5a1eb5d090e9f9d624f /synapse
parentremove unused import (diff)
downloadsynapse-e40a510fbff931b5e6b295351847b95fb8c69e71.tar.xz
py3 fix
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index 8cf0a36a8f..0e16bbe0ee 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -543,4 +543,4 @@ class RegistrationHandler(BaseHandler):
         try:
             yield self.auth.check_auth_blocking()
         except AuthError as e:
-            raise RegistrationError(e.code, e.message, e.errcode)
+            raise RegistrationError(e.code, str(e), e.errcode)