#32997: Errors in 404 templates are hard to debug ---------------------------------+-------------------------------------- Reporter: jooadam | Owner: (none) Type: Bug | Status: new Component: Error reporting | Version: 3.2 Severity: Normal | Resolution: Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+-------------------------------------- Description changed by jooadam:
Old description: > 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 dynamic statement and expression in my base template. New description: 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. -- -- Ticket URL: <https://code.djangoproject.com/ticket/32997#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.857925aaa8c16c97261c241d8b07bc77%40djangoproject.com.