Skip to content
Myr

remove old note about InternalServerError

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 7029674 · Browse files · 1 file+0 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−6 removed

  • other:+0 added−6 removed

1 file+0 added−6 removed

modified:src/flask/app.py-6 removed
1348 unmodified lines
1349 ``500``, it will be used. For consistency, the handler will1350 always receive the ``InternalServerError``. The original1351 unhandled exception is available as ``e.original_exception``.13521353 .. note::1354 Prior to Werkzeug 1.0.0, ``InternalServerError`` will not1355 always have an ``original_exception`` attribute. Use1356 ``getattr(e, "original_exception", None)`` to simulate the1357 behavior for compatibility.13581353 .. versionchanged:: 1.1.01354 Always passes the ``InternalServerError`` instance to the1355 handler, setting ``original_exception`` to the unhandled1356 error.
600 unmodified lines