#27785: Log request.body (or part of it) in the 500 debug content
-------------------------------------------+------------------------
Reporter: Claude Paroz | Owner: (none)
Type: New feature | Status: new
Component: Error reporting | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
I have a use case where a server error happens due to some unexpected
content coming from the `request.body` content. Unfortunately, the debug
view currently doesn't output anything related to `request.body`. It
should probably be trimmed at some point (4Ko for example), and the
ability to filter the output could be added with a new method of
`ExceptionReporterFilter`. If undecodable, a simple output like
`<Undecodable bytes>` could be output.
--
Ticket URL: <https://code.djangoproject.com/ticket/27785>
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/050.b8ec13679a8fcd34582ddc6a8e085ec8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.