mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 21:17:54 +00:00
Swallow the error from Downloader._when_queue_is_empty.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
811d597cd8
commit
9e5b01b3ae
@ -874,8 +874,13 @@ class Downloader(QueueMixin, WriteFileMixin):
|
||||
return d
|
||||
|
||||
# XXX fixme
|
||||
@defer.inlineCallbacks
|
||||
def _when_queue_is_empty(self):
|
||||
return self._scan(None)
|
||||
try:
|
||||
x = yield self._scan(None)
|
||||
defer.returnValue(x)
|
||||
except:
|
||||
self._log("_scan failed")
|
||||
|
||||
def _scan(self, ign):
|
||||
return self._scan_remote_collective()
|
||||
|
Loading…
Reference in New Issue
Block a user