log pdu_failures from incoming transactions

... even if we have no EDUs.

This appears to have been introduced in
476899295f.
This commit is contained in:
Richard van der Hoff 2017-10-11 14:25:16 +01:00
parent 4d24becf7f
commit b75d443caf

View file

@ -168,7 +168,8 @@ class FederationServer(FederationBase):
edu.content
)
for failure in getattr(transaction, "pdu_failures", []):
pdu_failures = getattr(transaction, "pdu_failures", [])
for failure in pdu_failures:
logger.info("Got failure %r", failure)
response = {