summaryrefslogtreecommitdiff
path: root/src/leap/soledad
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/soledad')
-rw-r--r--src/leap/soledad/client/_db/blobs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/soledad/client/_db/blobs.py b/src/leap/soledad/client/_db/blobs.py
index 0848c0b7..972c5389 100644
--- a/src/leap/soledad/client/_db/blobs.py
+++ b/src/leap/soledad/client/_db/blobs.py
@@ -553,11 +553,12 @@ class BlobManager(object):
except InvalidBlob as e:
_, retries = yield self.local.get_sync_status(blob_id)
message = "Corrupted blob received from server! ID: %s\n"
+ message += "Error: %r\n"
message += "Retries: %s - Attempts left: %s\n"
message += "There is a chance of tampering. If this problem "
message += "persists, please check your connection then report to "
message += "your provider sysadmin and submit a bug report."
- message = message % (blob_id, retries, self.max_retries - retries)
+ message %= (blob_id, e, retries, self.max_retries - retries)
logger.error(message)
yield self.local.increment_retries(blob_id)
if (retries + 1) >= self.max_retries: