pankajastro commented on code in PR #22772:
URL: https://github.com/apache/airflow/pull/22772#discussion_r843921470


##########
airflow/providers/google/cloud/transfers/local_to_gcs.py:
##########
@@ -109,6 +109,8 @@ def execute(self, context: 'Context'):
         )
 
         filepaths = self.src if isinstance(self.src, list) else glob(self.src)
+        if len(filepaths) == 0:
+            raise ValueError(f"src {self.src} dos not exist.")

Review Comment:
   Updated with the above change 42cbdb734990e8d7f8cebf987791c552b384b951



-- 
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]

Reply via email to