#31316: handler500 called multiple times.
-------------------------------+--------------------------------------
Reporter: David Szotten | Owner: nobody
Type: Uncategorized | Status: closed
Component: HTTP handling | Version: master
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by felixxm):
* status: new => closed
* resolution: => invalid
* component: Uncategorized => HTTP handling
Comment:
`handler500` should return `HttpResponseServerError`, when it raises an
exception then it's propagated to the next middleware and a custom handler
is called again. This behavior is a side effect of an incorrect
implementation of a custom `handler500`. It's called only once when
returns `HttpResponseServerError` (as documented).
--
Ticket URL: <https://code.djangoproject.com/ticket/31316#comment:1>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.8b73dc3b1b5d793dcd63ed03990ded64%40djangoproject.com.