From 25ab05e6a2ae248ab76002807d47c23952492f17 Mon Sep 17 00:00:00 2001 From: David Lord Date: Tue, 9 Mar 2021 08:06:43 -0800 Subject: [PATCH] remove old note about InternalServerError --- src/flask/app.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/flask/app.py b/src/flask/app.py index 53cc5638..5be079c7 100644 --- a/src/flask/app.py +++ b/src/flask/app.py @@ -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