Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ECS executor healthcheck with a catchall except #35512

Merged
merged 1 commit into from
Nov 7, 2023

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
46 checks passed
@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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:amazon AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants