Opened 6 years ago
Last modified 6 years ago
#30752 closed New feature
Allow using ExceptionReporter subclass in django.views.debug.technical_500_response — at Initial Version
| 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
#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.partialto configure a subclass with specifyinghandler500. 
  Note:
 See   TracTickets
 for help on using tickets.