UNCLASSIFIED

Commit ebafad96 authored by David Freeman's avatar David Freeman
Browse files

log response to debug

parent fc20591b
Pipeline #97432 passed with stages
in 1 minute and 33 seconds
......@@ -43,6 +43,7 @@ def upload_file(file_name, bucket, object_name=None):
)
try:
response = s3_client.upload_file(file_name, bucket, object_name, extra_args)
logging.debug(f"Response for S3 Upload of {file_name}: {response}")
except ClientError as e:
logging.error(e)
return False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment