From 0e4607000d1e4a33a06c98578ec06226a43cdc56 Mon Sep 17 00:00:00 2001 From: David Lord Date: Thu, 23 Jun 2016 13:00:45 -0700 Subject: [PATCH] re-add passthrough_errors to cli runner (#1928) This got dropped during the cli simplification. Re: #1679 --- flask/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flask/cli.py b/flask/cli.py index 9dfd339f..3796c083 100644 --- a/flask/cli.py +++ b/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.')