#33723: DEBUG_PROPAGATE_EXCEPTIONS is not honored by runserver
-------------------------------------+-------------------------------------
Reporter: Daniel | Owner: nobody
Hahler |
Type: New | Status: new
feature |
Component: Core | Version: dev
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When setting `DEBUG_PROPAGATE_EXCEPTIONS = True` the exception gets re-
raised in the view, but still gets handled/swallowed by `runserver` then.
Therefore `python -m pdb ./manage.py runserver --nothreading --noreload`
does not allow for post-mortem debugging then.
This could be fixed by implementing `handle_error` on the `WSGIServer` and
`ServerHandler` used by the runserver command.
--
Ticket URL: <https://code.djangoproject.com/ticket/33723>
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/01070180d74384c3-bd94e7e2-5094-4bd2-9ac4-6d5e5498019c-000000%40eu-central-1.amazonses.com.