vincbeck commented on code in PR #70152:
URL: https://github.com/apache/airflow/pull/70152#discussion_r3775617346


##########
providers/amazon/src/airflow/providers/amazon/aws/operators/datasync.py:
##########
@@ -181,7 +192,7 @@ def __init__(
         if self.source_location_uri and self.destination_location_uri:
             valid = True
         if not valid:
-            raise AirflowException(
+            raise ValueError(

Review Comment:
   Yes, it also can be considered a bug fix because it should have been 
`ValueError` at the first place



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