nuclearpinguin commented on a change in pull request #7624: [AIRFLOW-6973] Make 
GCSCreateBucketOperator idempotent (fix)
URL: https://github.com/apache/airflow/pull/7624#discussion_r388935245
 
 

 ##########
 File path: airflow/providers/google/cloud/hooks/gcs.py
 ##########
 @@ -450,7 +450,6 @@ def get_md5hash(self, bucket_name, object_name):
         self.log.info('The md5Hash of %s is %s', object_name, blob_md5hash)
         return blob_md5hash
 
-    @CloudBaseHook.catch_http_exception
 
 Review comment:
   That's true, but original exception was hard to catch like:
   ```
   try:
      create_smth()
   except AlreadyExists:
      get_smth()
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to