#30752: Allow using ExceptionReporter subclass in
django.views.debug.technical_500_response
---------------------------------+--------------------------------------
     Reporter:  Carlton Gibson   |                    Owner:  (none)
         Type:  New feature      |                   Status:  new
    Component:  Error reporting  |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  1                |                    UI/UX:  0
---------------------------------+--------------------------------------
Description changed by Carlton Gibson:

Old description:

> #29714 allows using an ExceptionReporter subclass with AdminEmailHandler.
>
> Ideally we'd make the similar available for the 500 debug error view.
>
> Currently the use of `ExceptionReporter` is hardcoded.
>
> * Move this to a parameter
> * Provide an example of using, e.g., `functools.partial` to configure a
> subclass with specifying `handler500`.

New description:

 #29714 allows using an ExceptionReporter subclass with AdminEmailHandler.

 Ideally we'd make the similar available for the 500 debug error view.

 
[https://github.com/django/django/blob/52e9c753659ffeab67149fcf26b95c10cf137c40/django/views/debug.py#L84-L95
 Currently the use of `ExceptionReporter` is hardcoded.]

 * Move this to a parameter
 * Provide an example of using, e.g., `functools.partial` to configure a
 subclass with specifying `handler500`.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30752#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.8c6fbdd5c6c040b71f3b3928c9565149%40djangoproject.com.

Reply via email to