Files
python-mistralclient/mistralclient/api
Leandro I. Costantino 762e1cdc3c Return response as error if not valid json object
If the response returned by Mistral do not contain a valid json an
exception is thrown by the client due to invalid json format.
If there's a ValueError exception and it's an error code try to return
the response text instead. (Ex: Authorization Failed )

This may be a temporary fix if the BE is able to return the json
error msg returned by keystone.

Change-Id: I540f3aaa35fb15adc04bf0a33e46af8ac614c814
Closes-Bug: #1316298
2014-05-05 17:11:27 -03:00
..
2014-02-28 10:26:32 +07:00