raphaelauv commented on a change in pull request #21391:
URL: https://github.com/apache/airflow/pull/21391#discussion_r801042926



##########
File path: airflow/providers/google/cloud/transfers/gcs_to_gcs.py
##########
@@ -313,6 +318,14 @@ def _copy_source_without_wildcard(self, hook, prefix):
                 self._copy_single_object(
                     hook=hook, source_object=prefix, 
destination_object=self.destination_object
                 )
+            else:
+                msg = (
+                    f'{prefix} does not exist in bucket {self.source_bucket}'
+                )
+                self.log.warning(msg)

Review comment:
       maybe move the log inside the if, so current users do not log with 
WARNING level




-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to