document behavior of very generic error handlers

This commit is contained in:
David Lord 2019-06-19 14:53:06 -07:00
parent 9054f6d639
commit 54519ef028
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 89 additions and 5 deletions

View file

@ -1829,7 +1829,7 @@ class Flask(_PackageBoundObject):
.. note::
Prior to Werkzeug 1.0.0, ``InternalServerError`` will not
always have a ``original_exception`` attribute. Use
always have an ``original_exception`` attribute. Use
``getattr(e, "original_exception", None)`` to simulate the
behavior for compatibility.