Skip to content
Snippets Groups Projects
Unverified Commit dfaf0fee authored by Daniel Ehlers's avatar Daniel Ehlers
Browse files

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: default avatarDaniel Ehlers <sargon@toppoint.de>
parent e380538b
Branches
Tags
No related merge requests found
...@@ -660,7 +660,7 @@ class AuthHandler(BaseHandler): ...@@ -660,7 +660,7 @@ class AuthHandler(BaseHandler):
else: else:
logger.warn( logger.warn(
"ldap registration failed: unexpected (%d!=1) amount of results", "ldap registration failed: unexpected (%d!=1) amount of results",
len(result) len(conn.response)
) )
defer.returnValue(False) defer.returnValue(False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment