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

chore, rapu: handle asyncio.TimeoutError #903

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

nosahama
Copy link
Contributor

About this change - What it does

Handle asyncio.TimeoutError.

  • we also prevent reraising asyncio.CanclledError as it is not necessary within this context, this could cause the app to crash or other unexpected behaviour.

@nosahama nosahama requested review from a team as code owners June 19, 2024 12:18
Copy link

github-actions bot commented Jun 19, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  karapace
  rapu.py
Project Total  

This report was generated by python-coverage-comment-action

- we also prevent reraising `asyncio.CanclledError` as it is not
necessary within this context, this could cause the app to crash or other unexpected behaviour.
@nosahama nosahama force-pushed the nosahama/sentry-handle-asyncio-timeout branch from 06673e5 to 60cd56f Compare June 19, 2024 13:41
Copy link
Contributor

@eliax1996 eliax1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@eliax1996 eliax1996 merged commit 6b44a63 into main Jul 1, 2024
9 checks passed
@eliax1996 eliax1996 deleted the nosahama/sentry-handle-asyncio-timeout branch July 1, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants