summaryrefslogtreecommitdiff
path: root/docs/api/attachments.rst
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-10-05 09:03:39 -0300
committerdrebs <drebs@riseup.net>2017-10-05 09:43:41 -0300
commite98dd6b7b7366c9ae6ca18c6e94866fbf8641afe (patch)
treeee6b3ea3cb8a2e35d58b1b215a85fbdf5a33136b /docs/api/attachments.rst
parentee79459569cd93467afd056412a88d05d2263917 (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 'docs/api/attachments.rst')
0 files changed, 0 insertions, 0 deletions