From be45a608e38a16766eb568a05b39becee2cd572b Mon Sep 17 00:00:00 2001 From: Wang Haowei Date: Wed, 20 May 2015 20:31:06 +0800 Subject: [PATCH] fix docstring for _find_errorhandler --- flask/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flask/app.py b/flask/app.py index 1f3d39ce..293eb6e9 100644 --- a/flask/app.py +++ b/flask/app.py @@ -1408,7 +1408,8 @@ class Flask(_PackageBoundObject): def _find_error_handler(self, e): """Finds a registered error handler for the request’s blueprint. - If neither blueprint nor App has a suitable handler registered, returns None + Otherwise falls back to the app, returns None if not a suitable + handler is found. """ exc_class, code = self._get_exc_class_and_code(type(e))