Skip to content

Prevents reraising of exception from BaseHTTPMiddleware #2911

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

Merged
merged 2 commits into from
Apr 13, 2025

Conversation

ramannanda9
Copy link
Contributor

Fix for #2893

Summary

Adds a check to not reraise raised exceptions.

@ramannanda9 ramannanda9 force-pushed the master branch 2 times, most recently from 37d20d3 to 782c803 Compare March 19, 2025 04:02
Fix for encode#2893
In current state exception is reraised and this adds a flag, which prevent the background exception handling code to rethrow a raised exception
@ramannanda9 ramannanda9 marked this pull request as ready for review March 19, 2025 04:03
@Kludex Kludex changed the title Prevents reraising of exception from BaseHttpMiddleware Prevents reraising of exception from BaseHTTPMiddleware Apr 13, 2025
@Kludex Kludex merged commit 48f7cd7 into encode:master Apr 13, 2025
7 checks passed
@Kludex
Copy link
Member

Kludex commented Apr 13, 2025

Thanks :)

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