From e59e47675e92115f6c98b13cae518ede22e935eb Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Mon, 9 Mar 2015 14:39:46 +0100 Subject: [bug] Use Deferred.errback The code was using 'fail' which is not a Deferred method. - Resolves: #6772 --- src/leap/bitmask/services/soledad/soledadbootstrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leap/bitmask/services/soledad/soledadbootstrapper.py b/src/leap/bitmask/services/soledad/soledadbootstrapper.py index 879ed1d0..6cb4c116 100644 --- a/src/leap/bitmask/services/soledad/soledadbootstrapper.py +++ b/src/leap/bitmask/services/soledad/soledadbootstrapper.py @@ -673,5 +673,5 @@ class Syncer(object): self._try_sync() else: logger.error("Sync failed {0} times".format(self._tries)) - self._callback_deferred.fail( + self._callback_deferred.errback( SoledadSyncError("Too many retries")) -- cgit v1.2.3