#29714: Make it easier to customise ExceptionReporter output.
-------------------------------------+-------------------------------------
     Reporter:  Vasili Korol         |                    Owner:  Nasir
                                     |  Hussain
         Type:  New feature          |                   Status:  assigned
    Component:  Error reporting      |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  email, reports,      |             Triage Stage:  Accepted
  cookies                            |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

 PR was adjusting `SafeExceptionReporterFilter` to filter cookies, rather
 than making `ExceptionReporter` easier to customise.

 As I commented on the PR I think that's the wrong approach because:

 > ... there are
 [https://code.djangoproject.com/query?status=!closed&component=Error+reporting
 a number of very similar requests to customise the error reporter output].
 (Not ALL of those, but several...) — If we added API to
 `SafeExceptionReporterFilter` for each of them, it'll become out of hand,
 so it's likely we need to favour a different approach. Whatever solution
 we take, I think we need to consider all the tickets here.
 ([https://code.djangoproject.com/ticket/25167#comment:1 There's thoughts
 of deprecating `SafeExceptionReporterFilter` as the extension point
 entirely...])

 Whether we deprecate `SafeExceptionReporterFilter`  or not, I think making
 `ExceptionReporter` easier to customise would be a win (and small in
 footprint). From there we can look at whether we need extra API to help
 e.g. filtering cookies, and so on.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29714#comment:12>
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/065.010dbaa93be2d37f178739c2b5d79889%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to