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

View File

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