Fixed #16674 -- Pass exceptions to WSGI callback #133

Closed
wants to merge 1 commit into from

2 participants

@chrisglass

This patch is a attempt at making the patch attached to
https://code.djangoproject.com/ticket/16674 more github friendly, and adds
tests.

It passes raised exceptions to the WSGI start_response callback, so that
WSGI middlewares can track, log or otherwise handle excpetions (as is
done in other WSGI compliant applications, and as specified in PEP 3333).

Thanks to "jamesh" for the original fix.

@chrisglass chrisglass Fixed #16674 -- Pass exceptions to WSGI callback
This patch is a attempt at making the patch attached to
https://code.djangoproject.com/ticket/16674 more github friendly.

It passes raised exceptions to the WSGI start_response callback, so that
WSGI middlewares can track, log or otherwise handle excpetions (as is
done in other WSGI compliant applications).

Thanks to "jamesh" for the original fix.

Added myself to AUTHORS
af8733f
@aaugustin
Django member

This PR is stale. Since our triage options on GitHub are limited to "open" or "closed", I'm going to close it. Please re-open if you have a chance to update it.

If no one reviews it, write to the django-developers mailing list. Thanks!

@aaugustin aaugustin closed this Feb 1, 2013
@nanuxbe nanuxbe pushed a commit to nanuxbe/django that referenced this pull request Jul 2, 2016
@bmispelon bmispelon Fixed #133 -- Added missing code example on start page. 550b45b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment