Skip to content
Snippets Groups Projects
Commit f8ac7690 authored by Astik Singh's avatar Astik Singh Committed by Mahamadasif Ansari
Browse files

[FIX] microsoft_account: always return dictionary on API calls


The return type of _do_request is inconsistent when an error is
encountered. This causes issues when the callers expect the return
type to be a dictionary consistently.

We fix this by always returning an empty dictionary for the request
response when encountering an error

sentry-4339147124

closes odoo/odoo#129872

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 7df724f1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment