#4903 closed (duplicate)
views/debug.py: fallback to cgitb
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
Hi,
Unicode errors in views/debug.py are hard to debug. You
don't see the buggy string, and you don't see the real
exception.
That's way I patched views/debug.py to fall back to cgitb
if rendering the technical 500 response failed.
Attachments (1)
Change History (3)
by , 18 years ago
| Attachment: | debug_py_cgitb_fallback.diff added | 
|---|
comment:1 by , 18 years ago
| Resolution: | → duplicate | 
|---|---|
| Status: | new → closed | 
comment:2 by , 18 years ago
Sorry this is not a duplicate.
This patch is about falling back to cgitb if there is an error in views/debug.py
#4891 is about errors at mod_python level (apache module).
Nevertheless I leave this closed, because since the unicode merge is stable,
I don't get errors in views/debug.py any more.
Duplicate of #4891.