remove noisy debug log (#1512)
This commit is contained in:
@@ -49,7 +49,6 @@ class AsyncAWSClient:
|
|||||||
try:
|
try:
|
||||||
parsed_uri = S3Uri(uri)
|
parsed_uri = S3Uri(uri)
|
||||||
await client.put_object(Body=data, Bucket=parsed_uri.bucket, Key=parsed_uri.key)
|
await client.put_object(Body=data, Bucket=parsed_uri.bucket, Key=parsed_uri.key)
|
||||||
LOG.debug("Upload file success", uri=uri)
|
|
||||||
return uri
|
return uri
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.exception("S3 upload failed.", uri=uri)
|
LOG.exception("S3 upload failed.", uri=uri)
|
||||||
@@ -71,7 +70,6 @@ class AsyncAWSClient:
|
|||||||
try:
|
try:
|
||||||
parsed_uri = S3Uri(uri)
|
parsed_uri = S3Uri(uri)
|
||||||
await client.upload_file(file_path, parsed_uri.bucket, parsed_uri.key)
|
await client.upload_file(file_path, parsed_uri.bucket, parsed_uri.key)
|
||||||
LOG.debug("Upload file from path success", uri=uri)
|
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.exception("S3 upload failed.", uri=uri)
|
LOG.exception("S3 upload failed.", uri=uri)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user