react-relay-network-modern icon indicating copy to clipboard operation
react-relay-network-modern copied to clipboard

Error should not be thrown on HTTP error when noThrow is set.

Open Dirklectisch opened this issue 4 years ago • 1 comments

I noticed that the noThrow flag only disable throwing for GraphQL errors in the response. For HTTP errors codes coming back from the server an error will be thrown currently even though you set the flag.

In my opinion it makes sense to do the same for HTTP errors in the response. You either handle all the errors yourself or you let the middleware stack throw errors.

Dirklectisch avatar Nov 25 '20 08:11 Dirklectisch

I seem to be not having any luck with noThrow, is this still a thing?

tslater avatar Dec 03 '21 05:12 tslater