mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 15:08:49 +03: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:
parent
4d24becf7f
commit
b75d443caf
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue