diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-10-20 14:10:08 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-10-20 14:10:08 +0100 |
commit | 4be99c2989799fa4d62682d94aa5b6f90d7750ed (patch) | |
tree | a9b13e04744222de86f7dc988534c8e1d883f922 /synapse/handlers | |
parent | Fix auto generating signing_keys (diff) | |
download | synapse-4be99c2989799fa4d62682d94aa5b6f90d7750ed.tar.xz |
Add get_json method to 3pid http client. Better logging for errors in 3pid requests
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/register.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index df562aa762..94b7890b5e 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -15,6 +15,7 @@ """Contains functions for registering clients.""" from twisted.internet import defer +from twisted.python import log from synapse.types import UserID from synapse.api.errors import ( @@ -126,7 +127,7 @@ class RegistrationHandler(BaseHandler): try: threepid = yield self._threepid_from_creds(c) except: - logger.err() + log.err() raise RegistrationError(400, "Couldn't validate 3pid") if not threepid: |