mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-06 22:59:22 +01: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