diff options
-rw-r--r-- | synapse/federation/federation_client.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index 47d71542e4..7de7bc89db 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -166,7 +166,10 @@ class FederationClient(FederationBase): ] # FIXME: We should handle signature failures more gracefully. - pdus[:] = yield self._check_sigs_and_hashes(pdus) + pdus[:] = yield defer.gatherResults( + self._check_sigs_and_hashes(pdus), + consumeErrors=True, + ).addErrback(unwrapFirstError) defer.returnValue(pdus) |