Opened 3 years ago

Last modified 3 years ago

#32997 closed Bug

Errors in 404 templates are hard to debug — at Version 1

Reported by: jooadam Owned by:
Component: Error reporting Version: 3.2
Severity: Normal 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 (last modified by jooadam)

I have a custom 404.html template, which extends a fairly complex base template. Something in this base template raises an error when visiting a non-existing page, but in DEBUG=True the page never gets rendered, and in DEBUG=False I only see the 500 error page and the email sent to the ADMINS address, which does not include a stack trace, or rather, has None listed under the stack trace.

I have no idea how to proceed with debugging, short of removing and adding back every single dynamic statement and expression in my base template.

Change History (1)

comment:1 by jooadam, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top