forked from orbit-oss/flask
re-add passthrough_errors to cli runner (#1928)
This got dropped during the cli simplification. Re: #1679
This commit is contained in:
parent
cd1a9b7d54
commit
0e4607000d
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue