Skip to content

Commit

Permalink
Fix boto3 missing error message in obj extension (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
zliang-akamai authored Nov 5, 2023
1 parent 5878f97 commit fcbc407
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions linodecli/plugins/obj/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
from pathlib import Path
from typing import List

from boto3.exceptions import S3UploadFailedError
from boto3.s3.transfer import MB, TransferConfig
try:
from boto3.exceptions import S3UploadFailedError
from boto3.s3.transfer import MB, TransferConfig
except:
# this has been handled in `call` function
# by print an error message
pass

from linodecli.helpers import expand_globs
from linodecli.plugins import inherit_plugin_args
Expand Down

0 comments on commit fcbc407

Please sign in to comment.