We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c092c commit 8c1f9d2Copy full SHA for 8c1f9d2
1 file changed
fast_s3/fetcher.py
@@ -2,9 +2,6 @@
2
from pathlib import Path
3
from typing import List, Union
4
5
-from botocore.exceptions import ClientError
6
-from s3transfer.exceptions import RetriesExceededError
7
-
8
from .file import File, Status
9
from .transfer_manager import transfer_manager
10
@@ -63,7 +60,7 @@ def process_index(self, index):
63
60
try:
64
61
file.future.result()
65
62
return file.with_status(Status.done)
66
- except (ClientError, RetriesExceededError) as e:
+ except Exception as e:
67
return file.with_status(Status.error, exception=e)
68
69
def queue_download_(self):
0 commit comments