Skip to content
Myr

Documented exception catching behaviour. This fixes #75

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 3ab318a · Browse files · 1 file+10 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+10 added−0 removed

  • other:+10 added−0 removed

1 file+10 added−0 removed

modified:flask.py+10 added
1088 unmodified lines
1089 """Runs the application on a local development server. If the1090 :attr:`debug` flag is set the server will automatically reload1091 for code changes and show a debugger in case an exception happened.10921093 .. admonition:: Keep in Mind10941095 Flask will supress any server error with a generic error page1096 unless it is in debug mode. As such to enable just the1097 interactive debugger without the code reloading, you ahve to1098 invoke :meth:`run` with ``debug=True`` and ``use_reloader=False``.1099 Setting ``use_debugger`` to `True` without being in debug mode1100 won't catch any exceptions because there won't be any to1101 catch.11021103 :param host: the hostname to listen on. set this to ``'0.0.0.0'``1104 to have the server available externally as well.1105 :param port: the port of the webserver1106 :param options: the options to be forwarded to the underlying
467 unmodified lines