summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-05-19 18:53:02 -0300
committerdrebs <drebs@leap.se>2015-05-20 10:25:03 -0300
commit0c23b1c767d98b5a63bb4b94d56b1fe69ce71c43 (patch)
treedf4aff81fe768248265e20a80286e5cec3f1ab25
parent5376b0eb9ff906fc755b18b39c87ffdc36849d1c (diff)
[bug] ensure sync failures are not ignored
-rw-r--r--client/src/leap/soledad/client/api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index 7b45dd7f..cd06fba1 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -666,6 +666,7 @@ class Soledad(object):
failure.printDetailedTraceback(file=s)
msg = "Soledad exception when syncing!\n" + s.getvalue()
logger.error(msg)
+ return failure
d.addCallbacks(_sync_callback, _sync_errback)
return d