Opened 5 years ago
Last modified 5 years ago
#30752 closed New feature
Allow using ExceptionReporter subclass in django.views.debug.technical_500_response — at Version 1
Reported by: | Carlton Gibson | Owned by: | |
---|---|---|---|
Component: | Error reporting | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Pavel Lysak | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
#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 specifyinghandler500
.
Note:
See TracTickets
for help on using tickets.