This commit is contained in:
Neil Johnson 2018-08-03 23:19:13 +01:00
parent d08296f9f2
commit e40a510fbf

View File

@ -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)