mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-30 15:34:02 +01:00
Merge pull request #2529 from matrix-org/rav/fix_transaction_failure_handling
log pdu_failures from incoming transactions
This commit is contained in:
commit
8dd0c85ac5
1 changed files with 3 additions and 2 deletions
|
@ -211,8 +211,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