Currently when api requests fails, the returned message only contains failure messages indicating failure but not the actual description of the failure. In cases where error are returned and do not conform to the ApiError form (be it infrastructure or error stemming not from our backend), a parsing error is returned from serde which removes all context for debugging.
Cases that does not return conventional error message should be handled, and more context should be returned in the error messages to ease any future debugging.
Currently when api requests fails, the returned message only contains failure messages indicating failure but not the actual description of the failure. In cases where error are returned and do not conform to the
ApiError
form (be it infrastructure or error stemming not from our backend), a parsing error is returned fromserde
which removes all context for debugging.Cases that does not return conventional error message should be handled, and more context should be returned in the error messages to ease any future debugging.