From: Daira Hopwood <daira@jacaranda.org>
Date: Mon, 24 Aug 2015 16:17:24 +0000 (+0100)
Subject: In Downloader._get_collective_latest_file, consume errors when getting metadata.
X-Git-Url: https://git.rkrishnan.org/%5B/frontends//%22news.html/%22?a=commitdiff_plain;h=3354c07b6a9a1dfda3d073cc13820e5b51257260;p=tahoe-lafs%2Ftahoe-lafs.git

In Downloader._get_collective_latest_file, consume errors when getting metadata.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---

diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py
index 05c4667c..3f4bf834 100644
--- a/src/allmydata/frontends/magic_folder.py
+++ b/src/allmydata/frontends/magic_folder.py
@@ -441,7 +441,7 @@ class Downloader(QueueMixin):
                 d = defer.succeed(None)
                 d.addCallback(lambda x, dir_name=dir_name: result[dir_name][0].get_child_and_metadata(filename))
                 list_of_deferreds.append(d)
-            deferList = defer.DeferredList(list_of_deferreds)
+            deferList = defer.DeferredList(list_of_deferreds, consumeErrors=True)
             return deferList
         collective_dirmap_d.addCallback(scan_collective)
         def highest_version(deferredList):