feat(chalice): changes
This commit is contained in:
parent
d350f29f54
commit
7c6ee55115
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ def get_file(source_bucket, source_key):
|
|||
)
|
||||
except ClientError as ex:
|
||||
if ex.response['Error']['Code'] == 'NoSuchKey':
|
||||
print(f'======> No object found - returning None for \nbucket:{source_bucket}\nkey:{source_key}')
|
||||
print(f'======> No object found - returning None for bucket:{source_bucket} key:{source_key}')
|
||||
return None
|
||||
else:
|
||||
raise ex
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue