Merge pull request #2529 from matrix-org/rav/fix_transaction_failure_handling

log pdu_failures from incoming transactions
This commit is contained in:
Richard van der Hoff 2017-10-11 17:29:14 +01:00 committed by GitHub
commit 8dd0c85ac5
1 changed files with 3 additions and 2 deletions

View File

@ -211,7 +211,8 @@ class FederationServer(FederationBase):
edu.content 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) logger.info("Got failure %r", failure)
response = { response = {