Handle BaseExceptions (#2222)

* Handle BaseExceptions

* Add test and changes

* Make test more idiomatic
This commit is contained in:
Diggory Blake 2017-03-31 17:07:43 +01:00 committed by Markus Unterwaditzer
parent 19d7e6532f
commit 1d4448abe3
3 changed files with 23 additions and 0 deletions

View file

@ -14,6 +14,9 @@ Major release, unreleased
- Change default configuration `JSONIFY_PRETTYPRINT_REGULAR=False`. jsonify()
method returns compressed response by default, and pretty response in
debug mode.
- Call `ctx.auto_pop` with the exception object instead of `None`, in the
event that a `BaseException` such as `KeyboardInterrupt` is raised in a
request handler.
Version 0.12.1
--------------