diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-11-26 12:05:19 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-11-26 12:05:19 +0100 |
| commit | 1235955197de427a91c883c52de45e6900e21353 (patch) | |
| tree | d26feae9b9bb37d292827ca652a5ba2fa05eadfb /addons/analytic_user_function | |
| parent | 0a3371c3b2d03192df932b712c49a098c5c5d21e (diff) | |
[IMP] exception handling in _dispatch
* ensure users correctly get a 403 forbidden from a failed
_authenticate
* as far as we can tell, NotFound is one of the few things
_authenticate does *not* throw. Catch all exceptions anyway.
* replace default _handle_500, _handle_403 and _handle_404 by single
generic handler since all they did was re-raise the exception anyway
bzr revid: xmo@openerp.com-20131126110519-0yjh01ubrulpzlmn
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
