summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2015-10-02 11:52:24 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2015-10-02 13:33:34 -0300
commitbb8646d9769cb3c1d2b84b43047e6feaf8e40966 (patch)
treec42247fb17f97e3899bd4614cdf36e1f28e6ecbc /src
parent709812ce05b908616efb536820185e1a0eecc1b0 (diff)
[bug] signal soledad bootstrap fail on init
- Resolves: #7503 Signed-off-by: Ivan Alejandro <ivanalejandro0@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/services/soledad/soledadbootstrapper.py2
1 files changed, 2 insertions, 0 deletions
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"))