Skip to content

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

Merged
sl0thentr0py merged 2 commits intomasterfrom
urlconf-got-exception
Jan 24, 2022
Merged

fix(django): Attempt custom urlconf resolve in got_request_exception as well#1317
sl0thentr0py merged 2 commits intomasterfrom
urlconf-got-exception

Conversation

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