]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
mutable.py: catch errors during publish.. previously they were ignored. oops.
authorBrian Warner <warner@allmydata.com>
Sat, 12 Apr 2008 05:51:02 +0000 (22:51 -0700)
committerBrian Warner <warner@allmydata.com>
Sat, 12 Apr 2008 05:51:02 +0000 (22:51 -0700)
src/allmydata/mutable.py

index eb60ff543ddfee437e158b2736cdb47e65c84d2d..d6d54e9d9c3ab3b88a1a7dd9dd28b71c3c9ee55c 100644 (file)
@@ -1069,7 +1069,7 @@ class Publish:
                           peerid, permutedid,
                           reachable_peers, current_share_peers, started)
             dl.append(d)
-        d = defer.DeferredList(dl)
+        d = defer.DeferredList(dl, fireOnOneErrback=True)
         d.addCallback(self._got_all_query_results,
                       total_shares, reachable_peers,
                       current_share_peers)
@@ -1498,7 +1498,7 @@ class Publish:
                           started)
             dl.append(d)
 
-        d = defer.DeferredList(dl)
+        d = defer.DeferredList(dl, fireOnOneErrback=True)
         def _done_sending(res):
             elapsed = time.time() - started
             self._status.timings["push"] = elapsed