#2153 closed defect (fixed)
debug.py fails to render
Reported by: | anonymous | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | trivial | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Sometimes when django is unable to find the correct location for an error,
it just dumps a stack trace instead of showing the more informative debug page.
The problem is in views/debug.py, setting the lastframe to the last element of the frames list,
which happens to be empty if no frame could be found.
A trivial patch solving the problem is attached.
Attachments (1)
Change History (2)
by , 18 years ago
Attachment: | debug_patch added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
[patch] remove possible rendering failure in debug.py