ramitkataria commented on code in PR #71653:
URL: https://github.com/apache/airflow/pull/71653#discussion_r3985170951
##########
providers/amazon/src/airflow/providers/amazon/aws/triggers/sagemaker.py:
##########
@@ -108,6 +109,41 @@ def hook(self) -> AwsGenericHook:
config=self.botocore_config,
)
+ def _event_from_exception(self, error: AirflowException) -> TriggerEvent:
+
+ if isinstance(error, WaiterMaxAttemptsError):
Review Comment:
Does this branch also catch the case where every attempt failed with
`NoCredentialsError`?
--
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]