mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
Log the value which is observed in the first place.
The name 'result' is of bool type and has no len property, resulting in a TypeError. Futhermore in the flow control conn.response is observed and hence should be reported. Signed-off-by: Daniel Ehlers <sargon@toppoint.de>
This commit is contained in:
parent
e380538b59
commit
dfaf0fee31
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ class AuthHandler(BaseHandler):
|
|||
else:
|
||||
logger.warn(
|
||||
"ldap registration failed: unexpected (%d!=1) amount of results",
|
||||
len(result)
|
||||
len(conn.response)
|
||||
)
|
||||
defer.returnValue(False)
|
||||
|
||||
|
|
Loading…
Reference in a new issue