From: Brian Warner Date: Sat, 12 Apr 2008 05:51:02 +0000 (-0700) Subject: mutable.py: catch errors during publish.. previously they were ignored. oops. X-Git-Url: https://git.rkrishnan.org/simplejson/%22news.html/configuration.txt?a=commitdiff_plain;h=d82f90faaa4c6926b0d97181d6d81c6a0039dcd7;p=tahoe-lafs%2Ftahoe-lafs.git mutable.py: catch errors during publish.. previously they were ignored. oops. --- diff --git a/src/allmydata/mutable.py b/src/allmydata/mutable.py index eb60ff54..d6d54e9d 100644 --- a/src/allmydata/mutable.py +++ b/src/allmydata/mutable.py @@ -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