diff options
author | Kali Kaneko <kali@leap.se> | 2014-12-09 15:37:58 -0600 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-12-19 17:27:27 -0300 |
commit | 78f0eedf5cd4451540807b2d656ede1d96c9e31c (patch) | |
tree | 3904beaa2d5d7abb6b2f2f491e61013b726ba352 /src/leap | |
parent | df160c0d44e8d0439d54313f097b2a4d9ada7357 (diff) |
log any soledad exception during initialization
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/bitmask/services/soledad/soledadbootstrapper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/soledad/soledadbootstrapper.py b/src/leap/bitmask/services/soledad/soledadbootstrapper.py index 745645f3..a360b5c2 100644 --- a/src/leap/bitmask/services/soledad/soledadbootstrapper.py +++ b/src/leap/bitmask/services/soledad/soledadbootstrapper.py @@ -277,13 +277,14 @@ class SoledadBootstrapper(AbstractBootstrapper): server_url, cert_file, token) logger.debug("Soledad has been initialized.") return - except Exception: + except Exception as exc: init_tries += 1 msg = "Init failed, retrying... (retry {0} of {1})".format( init_tries, self.MAX_INIT_RETRIES) logger.warning(msg) continue + logger.exception(exc) raise SoledadInitError() def load_and_sync_soledad(self, uuid=None, offline=False): |