Avoid AlreadyCalledError from EDU sending failures

paul/schema_breaking_changes
Paul "LeoNerd" Evans 2014-08-28 16:19:16 +01:00
parent c46c806126
commit b1da3fa0a7
1 changed files with 2 additions and 1 deletions

View File

@ -541,6 +541,7 @@ class _TransactionQueue(object):
)
def eb(failure):
if not deferred.called:
deferred.errback(failure)
self._attempt_new_transaction(destination).addErrback(eb)