re-add passthrough_errors to cli runner (#1928)

This got dropped during the cli simplification.  Re: #1679
This commit is contained in:
David Lord 2016-06-23 13:00:45 -07:00 committed by GitHub
parent cd1a9b7d54
commit 0e4607000d

View file

@ -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.')