Browse Source

re-add passthrough_errors to cli runner (#1928)

This got dropped during the cli simplification.  Re: #1679
pull/1857/merge
David Lord 9 years ago committed by GitHub
parent
commit
0e4607000d
  1. 3
      flask/cli.py

3
flask/cli.py

@ -423,7 +423,8 @@ def run_command(info, host, port, reload, debugger, eager_loading,
print(' * Forcing debug mode %s' % (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.')

Loading…
Cancel
Save