mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 12:19:29 -05:00
Use python logger, not the twisted logger
This commit is contained in:
parent
36d730229a
commit
1c6825cc7a
@ -15,7 +15,6 @@
|
||||
|
||||
"""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 (
|
||||
@ -129,7 +128,7 @@ class RegistrationHandler(BaseHandler):
|
||||
try:
|
||||
threepid = yield self._threepid_from_creds(c)
|
||||
except:
|
||||
log.err()
|
||||
logger.exception("Couldn't validate 3pid")
|
||||
raise RegistrationError(400, "Couldn't validate 3pid")
|
||||
|
||||
if not threepid:
|
||||
|
Loading…
Reference in New Issue
Block a user