mirror of https://github.com/mitsuhiko/flask.git
Browse Source
The documentation for @errorhandler gives "app.error_handler_spec[None][404] = page_not_found" as an example for adding an error handler without the decorator. However, register_error_handler appears to be the correct way to do this (added 0.7), and it eliminates the problems with modifying error_handler_spec directly.pull/707/head
Steve Leonard
12 years ago
1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue