summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/soledad
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-12-09 15:37:58 -0600
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-12-19 17:27:27 -0300
commit78f0eedf5cd4451540807b2d656ede1d96c9e31c (patch)
tree3904beaa2d5d7abb6b2f2f491e61013b726ba352 /src/leap/bitmask/services/soledad
parentdf160c0d44e8d0439d54313f097b2a4d9ada7357 (diff)
log any soledad exception during initialization
Diffstat (limited to 'src/leap/bitmask/services/soledad')
-rw-r--r--src/leap/bitmask/services/soledad/soledadbootstrapper.py3
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):