document behavior of very generic error handlers
This commit is contained in:
parent
9054f6d639
commit
54519ef028
3 changed files with 89 additions and 5 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue