forked from orbit-oss/flask
remove old note about InternalServerError
This commit is contained in:
parent
7029674775
commit
25ab05e6a2
1 changed files with 0 additions and 6 deletions
|
|
@ -1350,12 +1350,6 @@ class Flask(Scaffold):
|
||||||
always receive the ``InternalServerError``. The original
|
always receive the ``InternalServerError``. The original
|
||||||
unhandled exception is available as ``e.original_exception``.
|
unhandled exception is available as ``e.original_exception``.
|
||||||
|
|
||||||
.. note::
|
|
||||||
Prior to Werkzeug 1.0.0, ``InternalServerError`` will not
|
|
||||||
always have an ``original_exception`` attribute. Use
|
|
||||||
``getattr(e, "original_exception", None)`` to simulate the
|
|
||||||
behavior for compatibility.
|
|
||||||
|
|
||||||
.. versionchanged:: 1.1.0
|
.. versionchanged:: 1.1.0
|
||||||
Always passes the ``InternalServerError`` instance to the
|
Always passes the ``InternalServerError`` instance to the
|
||||||
handler, setting ``original_exception`` to the unhandled
|
handler, setting ``original_exception`` to the unhandled
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue