Commit 91bf322
Handle MultiPartParserError to avoid internal sentry crash (#4001)
Handles an internal error in sentry_sdk if there is an issue with
parsing request.POST.
It would be better to handle this exception without request data instead
of crashing and not reporting anything.
---
Co-authored-by: Ivana Kellyer <[email protected]>1 parent 8c25c73 commit 91bf322
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
154 | 161 | | |
155 | 162 | | |
156 | 163 | | |
| |||
0 commit comments