forked from orbit-oss/flask
Don't passthrough_errors unless instructed. (#2006)
Fix #2005 Revert #1679 and #1996
This commit is contained in:
parent
ccd02bfe8c
commit
c4ec6954e5
3 changed files with 1 additions and 6 deletions
|
|
@ -429,8 +429,7 @@ 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,
|
||||
passthrough_errors=app.config['PROPAGATE_EXCEPTIONS'])
|
||||
use_debugger=debugger, threaded=with_threads)
|
||||
|
||||
|
||||
@click.command('shell', short_help='Runs a shell in the app context.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue