#12250: process_view middleware prevents process_exception handling
-------------------------------------+-------------------------------------
Reporter: manfre | Owner: manfre
Type: Bug | Status: closed
Component: Core (Other) | Version: master
Severity: Normal | Resolution: wontfix
Keywords: middleware | Triage Stage: Design
| decision needed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by chris-martin):
"the current design of the request handler assumes that middleware methods
won't raise exceptions. They must deal with their own exceptions.
Exceptions raised by middleware will end up in handle_uncaught_exception
and produce a 500."
That would be a great piece of information to include in
https://docs.djangoproject.com/en/dev/topics/http/middleware/#writing-
your-own-middleware
--
Ticket URL: <https://code.djangoproject.com/ticket/12250#comment:18>
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/064.618b6cc38accb631ca51aeb0513ecc3a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.