Skip to content

Update ECS executor healthcheck with a catchall except#35512

Merged
o-nikolas merged 1 commit into
apache:mainfrom
aws-mwaa:onikolas/ecs_executor_health_check
Nov 7, 2023
Merged

Update ECS executor healthcheck with a catchall except#35512
o-nikolas merged 1 commit into
apache:mainfrom
aws-mwaa:onikolas/ecs_executor_health_check

Conversation

@o-nikolas

Copy link
Copy Markdown
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

@syedahsn syedahsn left a comment

Copy link
Copy Markdown
Contributor

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

5 participants