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
Error handling currently assumes that the response is JSON parsable. That's not always the case e.g. if the response body is just a pure string like "Rate limit exceeded".
What version of Effect is running?
No response
What steps can reproduce the bug?
Error handling currently assumes that the response is JSON parsable. That's not always the case e.g. if the response body is just a pure string like "Rate limit exceeded".
https://github.com/Effect-TS/effect/blob/main/packages/platform/src/HttpApiClient.ts#L126
The recovery path here is fairly reasonable at first glance but I should be able to properly decode plain values here too instead of just JSON.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: