mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 18:44:18 -05:00
Log a warning if an AS yields an invalid 3PU lookup result
This commit is contained in:
parent
80f4740c8f
commit
d7b42afc74
@ -184,7 +184,12 @@ class ApplicationServicesHandler(object):
|
|||||||
continue
|
continue
|
||||||
if not isinstance(result, list):
|
if not isinstance(result, list):
|
||||||
continue
|
continue
|
||||||
ret.extend(r for r in result if _is_valid_3pu_result(r))
|
for r in result:
|
||||||
|
if _is_valid_3pu_result(r):
|
||||||
|
ret.append(r)
|
||||||
|
else:
|
||||||
|
logger.warn("Application service returned an " +
|
||||||
|
"invalid result %r", r)
|
||||||
|
|
||||||
defer.returnValue(ret)
|
defer.returnValue(ret)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user