Skip to content

Conversation

@o-nikolas
Copy link
Contributor

Previously only ClientError was being caught. However, there are cases where Botocore (or perhaps other) exceptions can be thrown. Add a catchall except Exception to catch these cases.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Previously only ClientError was being caught. However, there are cases
where Botocore (or perhaps other) exceptions can be thrown. Add a
catchall except Exception to catch these cases.
@o-nikolas o-nikolas requested a review from eladkal as a code owner November 7, 2023 19:11
@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Nov 7, 2023
Copy link
Contributor

@syedahsn syedahsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@o-nikolas o-nikolas merged commit b67a4f7 into apache:main Nov 7, 2023
@o-nikolas o-nikolas deleted the onikolas/ecs_executor_health_check branch November 7, 2023 20:59
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Nov 10, 2023
Previously only ClientError was being caught. However, there are cases
where Botocore (or perhaps other) exceptions can be thrown. Add a
catchall except Exception to catch these cases.
@o-nikolas o-nikolas added the aws-ecs-executor Changes related to the AWS ECS Executor label Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers aws-ecs-executor Changes related to the AWS ECS Executor provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants