You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently treat all http error messages as strings when storing them. Several of the responses are actually json. This results in strings with escaped json. This doesn't have the best readability.
I suggest that we check the response for json before passing on the response. If it's json, we pass a long the object instead. (Might want to append i.e. the status code before passing it along.)
We currently treat all http error messages as strings when storing them. Several of the responses are actually json. This results in strings with escaped json. This doesn't have the best readability.
I suggest that we check the response for json before passing on the response. If it's json, we pass a long the object instead. (Might want to append i.e. the status code before passing it along.)
Instead of this:
Do something like this:
If the error doesn't contain json, it should use the old behavior.
The text was updated successfully, but these errors were encountered: