Commit f0d9c72c authored by jatinbhargav's avatar jatinbhargav
Browse files

adding logger

adding logger
parent 8a29fa8f
Pipeline #115324 failed with stages
in 15 minutes and 15 seconds
......@@ -34,11 +34,11 @@ class IBMBundleStorageClient(BundleStorageClient):
self.s3_client.download_fileobj(self.bucket_name, key, file)
return file, key
except Exception as e:
logger.error(f"Failed to download file from")
logger.error(f"Failed to download file")
def upload_file(self, key: str, file: FileLikeObject) -> str:
try:
self.s3_client.upload_fileobj(file, self.bucket_name, key)
return file, key
except Exception as e:
logger.error(f"Failed to upload file to ")
logger.error(f"Failed to upload file")
Supports Markdown
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