Werkzeug should not block propagated exceptions from Flask

This commit is contained in:
Miguel Grinberg 2016-01-02 10:56:02 -08:00
parent f17e6061fc
commit 952a6c8989
3 changed files with 23 additions and 1 deletions

View file

@ -422,7 +422,8 @@ def run_command(info, host, port, reload, debugger, eager_loading,
print(' * Forcing debug %s' % (info.debug and 'on' or 'off'))
run_simple(host, port, app, use_reloader=reload,
use_debugger=debugger, threaded=with_threads)
use_debugger=debugger, threaded=with_threads,
passthrough_errors=True)
@click.command('shell', short_help='Runs a shell in the app context.')