Michael Merickel
2017-05-03 7936210eb8f6da693fcab9ed04dfed277874eeb0
refs
author Michael Merickel <michael@merickel.org>
Wednesday, May 3, 2017 04:43 +0200
committer Michael Merickel <michael@merickel.org>
Wednesday, May 3, 2017 04:43 +0200
commit7936210eb8f6da693fcab9ed04dfed277874eeb0
tree 6d6a88cf093e263454c5ad64640008fcba6a95bb tree | zip | gz
parent b573ace14f0e60e62655eada77b09f4de3bb81ef view | diff
clean request.exception if the excview fails to handle the error

request.exception is only not None if the response was generated by the
excview

fixes #3027
2 files modified
103 ■■■■■ changed files
pyramid/tests/test_tweens.py 17 ●●●●● diff | view | raw | blame | history
pyramid/tweens.py 86 ●●●● diff | view | raw | blame | history