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
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I have a $resource with both transformResponse and an interceptor. The transformResponse deserializes the response from json and then modifies it. The interceptor handles responseError. The problem is when the request throws http error 500 the transformresponse is called (where the status of the request is not available) it tries to deserialize json and fails. In the interceptor responseError method I now get an object that has a property "message" with "Json.Parse error". I am unable to catch the http 500 error anywhere.