Skip to content
Myr

Added note that @errorhandler(500) isn't triggered in debug mode

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

authored by Torstein Krause Johansen · committed by Torstein Krause Johansen · parent c259f2b · Browse files · 1 file+3 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+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:docs/patterns/errorpages.rst+3 added
75 unmodified lines
76 <h1>Page Not Found</h1>77 <p>What you were looking for is just not there.78 <p><a href="{{ url_for('index') }}">go somewhere nice</a>79 {% endblock %}8081Please note that if you add an error handler for "500 Internal Server82Error", Flask will not trigger it if it's running in Debug mode.