0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 03:03:50 +01:00

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,8 +168,9 @@ class FederationServer(FederationBase):
edu.content
)
for failure in getattr(transaction, "pdu_failures", []):
logger.info("Got failure %r", failure)
pdu_failures = getattr(transaction, "pdu_failures", [])
for failure in pdu_failures:
logger.info("Got failure %r", failure)
response = {
"pdus": pdu_results,