eladkal commented on code in PR #27149:
URL: https://github.com/apache/airflow/pull/27149#discussion_r1000189443
##########
airflow/providers/amazon/aws/hooks/s3.py:
##########
@@ -220,7 +220,7 @@ def check_for_bucket(self, bucket_name: str | None = None)
-> bool:
#
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.head_bucket
return_code = int(e.response['Error']['Code'])
if return_code == 404:
- self.log.error('Bucket "%s" does not exist', bucket_name)
+ self.log.info('Bucket "%s" does not exist', bucket_name)
Review Comment:
why do we change log level only for 404?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]