Skip to content

fix(django): Attempt custom urlconf resolve in got_request_exception as well #1317

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
Jan 24, 2022

Conversation

sl0thentr0py
Copy link
Member

The fix in #1308 only worked for transactions and not for exceptions since exceptions will nope out before _after_get_reponse runs in most cases. This generalizes the solution to also run in _got_request_exception.

https://getsentry.atlassian.net/browse/WEB-530

@sl0thentr0py sl0thentr0py merged commit 4dc2deb into master Jan 24, 2022
@sl0thentr0py sl0thentr0py deleted the urlconf-got-exception branch January 24, 2022 17:27
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