#17617: Middleware Loader swallows useful stacktraces
-------------------------------+--------------------
Reporter: davedash | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.3
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
This try/except block:
https://github.com/django/django/blob/master/django/core/handlers/base.py#L44
Swallows stacktraces that can help us track down problems. Simply
outputting the error raised doesn't really explain what's going on... in
our case it was an ImportError caused by a circular import, we had to
comment out the try/except to expose it[1].
Not sure what a good way is to fix this, but I thought I'd at the very
least mention it.
[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=722497
--
Ticket URL: <https://code.djangoproject.com/ticket/17617>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.