diff --git a/AUTHORS b/AUTHORS index 2c125e1181..e4f32ace17 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,3 +12,12 @@ Patches and Suggestions - Chris Edgemon - Chris Grindstaff - Florent Xicluna +- Georg Brandl +- Justin Quick +- Kenneth Reitz +- Marian Sigler +- Ron DuPlain +- Sebastien Estienne +- Simon Sapin +- Stephane Wirtel +- Zhao Xiaohong diff --git a/CHANGES b/CHANGES index 98e94a1d49..83d1af06ba 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,9 @@ Version 0.4 Release date to be announced, codename to be selected. +- added the ability to register application wide error handlers + from modules. + Version 0.3.1 ------------- diff --git a/flask.py b/flask.py index 66ce172f7b..71c30d84bd 100644 --- a/flask.py +++ b/flask.py @@ -615,6 +615,8 @@ def app_context_processor(self, f): def app_errorhandler(self, code): """Like :meth:`Flask.errorhandler` but for a module. This handler is used for all requests, even if outside of the module. + + .. versionadded:: 0.4 """ def decorator(f): self._record(lambda s: s.app.errorhandler(code)(f))