Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normalize excview tween to use request.invoke_exception_view #3031

Merged
merged 1 commit into from
May 4, 2017

Conversation

mmerickel
Copy link
Member

request.exception and request.exc_info are set to the
exception used to render the response but they are reset to their
original values if no response could be rendered

minor incompatibility in that request.response is restored after the
excview tween but should not be an issue because a response is returned
thus request.response should be ignored by anyone who cares.

fixes #3030

``request.exception`` and ``request.exc_info`` are set to the
exception used to render the response but they are reset to their
original values if no response could be rendered

minor incompatibility in that ``request.response`` is restored after the
excview tween but should not be an issue because a response is returned
thus request.response should be ignored by anyone who cares.
@mmerickel mmerickel added this to the 1.9 milestone May 4, 2017
@mmerickel mmerickel merged commit ba677d5 into Pylons:master May 4, 2017
mmerickel added a commit that referenced this pull request May 4, 2017
@mmerickel mmerickel deleted the normalize-exception-rendering branch November 29, 2020 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update request.invoke_exception_view to set request.exception
2 participants