Werkzeug should not block propagated exceptions from Flask
This commit is contained in:
parent
f17e6061fc
commit
952a6c8989
3 changed files with 23 additions and 1 deletions
|
|
@ -833,6 +833,7 @@ class Flask(_PackageBoundObject):
|
|||
self.debug = bool(debug)
|
||||
options.setdefault('use_reloader', self.debug)
|
||||
options.setdefault('use_debugger', self.debug)
|
||||
options.setdefault('passthrough_errors', True)
|
||||
try:
|
||||
run_simple(host, port, self, **options)
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue