Skip to content

Keep retry exception filters reusable - #712

Open
IlyaKhalafi wants to merge 1 commit into
taskiq-python:masterfrom
IlyaKhalafi:fix/reusable-retry-exception-types
Open

IlyaKhalafi wants to merge 1 commit into
taskiq-python:masterfrom
IlyaKhalafi:fix/reusable-retry-exception-types

Conversation

@IlyaKhalafi

Copy link
Copy Markdown

This PR fixes generator exception filters being consumed after the first error in both retry middlewares. With this, later matching failures still retry and a nonmatching error does not empty the filter.

Fixes #708

383 tests and repository checks pass.

This branch has not been deployed

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

Retry middleware consumes generator exception filters after the first error

1 participant