diff options
author | drebs <drebs@riseup.net> | 2017-10-05 09:03:39 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-10-05 09:43:41 -0300 |
commit | e98dd6b7b7366c9ae6ca18c6e94866fbf8641afe (patch) | |
tree | ee6b3ea3cb8a2e35d58b1b215a85fbdf5a33136b /src/leap/soledad/common/__init__.py | |
parent | ee79459569cd93467afd056412a88d05d2263917 (diff) |
[bug] retry blob download for all retriable errors
Because the exception catching was being made inside
_download_and_decrypt() and only accounted for InvalidBlob exceptions,
not all retriable errors would lead to an actual retry.
This commit moves the exception catching to one level up and catches any
kind of exception, as is done in the upload part. This allows for
retrying on all retriable errors.
Diffstat (limited to 'src/leap/soledad/common/__init__.py')
0 files changed, 0 insertions, 0 deletions