#25463: RFE: support chained exceptions in DEBUG traceback view under Python 
3.5+
---------------------------------+-----------------
     Reporter:  ncoghlan         |      Owner:
         Type:  New feature      |     Status:  new
    Component:  Error reporting  |    Version:  1.8
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  1
---------------------------------+-----------------
 I'm currently attempting to debug what appears to be an error handling bug
 in Django REST Framework: https://github.com/tomchristie/django-rest-
 framework/issues/3446

 However, the error I *really* want to be investigating is the original
 one, rather than the secondary failure in the DRF exception handling.

 Python 3 captures this information in the `__context__` (or `__cause__`)
 attribute on the exception object, as described in
 https://www.python.org/dev/peps/pep-3134/

 It would be handy if the DEBUG view could be updated to display that
 information when it was available (although I have no idea how difficult
 such a change would be)

--
Ticket URL: <https://code.djangoproject.com/ticket/25463>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.e52957ff17baeea78ffa65ff8fc72c5b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to