From bb8646d9769cb3c1d2b84b43047e6feaf8e40966 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Fri, 2 Oct 2015 11:52:24 -0300 Subject: [bug] signal soledad bootstrap fail on init - Resolves: #7503 Signed-off-by: Ivan Alejandro --- src/leap/bitmask/services/soledad/soledadbootstrapper.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/leap') diff --git a/src/leap/bitmask/services/soledad/soledadbootstrapper.py b/src/leap/bitmask/services/soledad/soledadbootstrapper.py index 57ae3849..ec758833 100644 --- a/src/leap/bitmask/services/soledad/soledadbootstrapper.py +++ b/src/leap/bitmask/services/soledad/soledadbootstrapper.py @@ -253,6 +253,7 @@ class SoledadBootstrapper(AbstractBootstrapper): logger.warning(msg) continue + self._signaler.signal(self._signaler.soledad_bootstrap_failed) logger.exception(exc) raise SoledadInitError() @@ -668,5 +669,6 @@ class Syncer(object): self._try_sync() else: logger.error("Sync failed {0} times".format(self._tries)) + self._signaler.signal(self._signaler.soledad_bootstrap_failed) self._callback_deferred.errback( SoledadSyncError("Too many retries")) -- cgit v1.2.3