diff options
| author | Olivier Dony <odo@openerp.com> | 2014-03-28 15:27:48 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2014-03-28 15:27:48 +0100 |
| commit | 8809c77f6088c140355fba5f862c0335b1d90c4e (patch) | |
| tree | df6513123f402c32ad838068e1988723526b9759 /addons/analytic_user_function/analytic_user_function.py | |
| parent | 9379dc0312ef4597e72d6429079791c02a6884ab (diff) | |
[FIX] http,ir.http: refactor exception handling to allow request-specific handling
Typically an exception during a JSON-RPC request must be
handled specifically and return a JSON-RPC error in all
cases. Previously the _authenticate() step could fail
during ir_http.dispatch() and bubble up to werkzeug,
yielding a dumb "Internal Server Error 500" even for
a JSON-RPC request.
bzr revid: odo@openerp.com-20140328142748-00haplmkc3fv6f9y
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
