#14523 closed (fixed)
Exceptions in response middleware aren't handled by main request's try .. except block
| Reported by: | Ivan Sagalaev | Owned by: | Ivan Sagalaev |
|---|---|---|---|
| Component: | Core (Other) | Version: | 1.2 |
| Severity: | Keywords: | ||
| Cc: | Mikhail Korobov | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The problem is solved by refactoring middleware application code out of wsgi.py and mod_python.py into base.py and shoving it before returning a response.
Attachments (1)
Change History (6)
comment:1 by , 15 years ago
| Cc: | added |
|---|
by , 15 years ago
| Attachment: | 14523-review.diff added |
|---|
comment:2 by , 15 years ago
| Has patch: | set |
|---|
Added a patch to show what really should happen in this ticket. The patch is made on top of another one from #9886 and should not lay cleanly on trunk but it's perfectly suitable for a review.
comment:3 by , 15 years ago
| Component: | Uncategorized → Core framework |
|---|---|
| milestone: | → 1.3 |
| Triage Stage: | Unreviewed → Ready for checkin |
comment:4 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch for review only