Browse Source

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

pull/1413/head
Torstein Krause Johansen 10 years ago
parent
commit
5dd9335aac
  1. 3
      docs/patterns/errorpages.rst

3
docs/patterns/errorpages.rst

@ -77,3 +77,6 @@ An example template might be this:
<p>What you were looking for is just not there.
<p><a href="{{ url_for('index') }}">go somewhere nice</a>
{% endblock %}
Please note that if you add an error handler for "500 Internal Server
Error", Flask will not trigger it if it's running in Debug mode.

Loading…
Cancel
Save