o-nikolas commented on code in PR #56936:
URL: https://github.com/apache/airflow/pull/56936#discussion_r2462156621


##########
providers/amazon/src/airflow/providers/amazon/aws/operators/ssm.py:
##########
@@ -90,7 +90,7 @@ def execute_complete(self, context: Context, event: dict[str, 
Any] | None = None
         event = validate_execute_complete_event(event)
 
         if event["status"] != "success":
-            raise AirflowException(f"Error while running run command: {event}")
+            raise RuntimeError(f"Error while running run command: {event}")

Review Comment:
   It's all good, if you've verified nothing was specifically catching that 
exception then this is a welcomed change since we're trying to deprecate 
AirflowException :) 



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