remove old note about InternalServerError

This commit is contained in:
David Lord 2021-03-09 08:06:43 -08:00
parent 7029674775
commit 25ab05e6a2
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8

View file

@ -1350,12 +1350,6 @@ class Flask(Scaffold):
always receive the ``InternalServerError``. The original
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
Always passes the ``InternalServerError`` instance to the
handler, setting ``original_exception`` to the unhandled