diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-07-02 14:38:54 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-07-02 14:55:41 +0000 |
| commit | 67c281c6a861315ef93d84ac60c09c0520c38180 (patch) | |
| tree | 3ddfe34e91f9a8e07c12d35fc78300553d3e4407 /addons/web_editor/static/src/xml/editor.xml | |
| parent | 0e2f3b144581c47d25a99cecdd7e058a3d55bcc3 (diff) | |
[FIX] google_account: use HTTPError over UserError
In an attempt to ease the error reporting, some Google Error were raised
as UserError so they are shown on screen and the user can take immediate
action when the error is their side.
As shown by the different commits bellow, the introduced changes had
some bad side effects. Empty request body, empty response body, non-json
response. The resulting code got complicated.
Apart from the Google API itself, some Odoo module (i.e.
google_calendar) excepted HTTPErrors on some endpoints that are now
raised as incompatible UserErrors. There are no straightforward
solutions for those endpoints.
This commit reverts:
- da13c704
- 9c369a44
- 85ab9238
opw-2000950
closes odoo/odoo#34532
Signed-off-by: Richard Mathot (rim) <rim@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions
