Fix backfill

erikj/persist_event_perf
Erik Johnston 2015-06-24 13:11:58 +01:00
parent ec6ceadeeb
commit 307e858b94
1 changed files with 4 additions and 1 deletions

View File

@ -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)