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

This commit is contained in:
Torstein Krause Johansen 2015-03-31 17:35:29 +02:00
parent c259f2bb2b
commit 5dd9335aac

View file

@ -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.