Added note that @errorhandler(500) isn't triggered in debug mode
This commit is contained in:
parent
c259f2bb2b
commit
5dd9335aac
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue