Typo in docs for Flask.handle_exception

This commit is contained in:
Dag Odenhall 2010-06-05 07:55:41 +08:00 committed by Armin Ronacher
parent f904ef27d3
commit 12c2cb5e12

View file

@ -1301,7 +1301,7 @@ class Flask(_PackageBoundObject):
def handle_exception(self, e): def handle_exception(self, e):
"""Default exception handling that kicks in when an exception """Default exception handling that kicks in when an exception
occours that is not catched. In debug mode the exception will occours that is not catched. In debug mode the exception will
be re-raised immediately, otherwise it is logged an the handler be re-raised immediately, otherwise it is logged and the handler
for an 500 internal server error is used. If no such handler for an 500 internal server error is used. If no such handler
exists, a default 500 internal server error message is displayed. exists, a default 500 internal server error message is displayed.