Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RemoteData: if status is >= 400, isError should be true #825

Closed
NullVoxPopuli opened this issue Mar 16, 2023 · 0 comments · Fixed by #827 or #864
Closed

RemoteData: if status is >= 400, isError should be true #825

NullVoxPopuli opened this issue Mar 16, 2023 · 0 comments · Fixed by #827 or #864
Labels
bug Something isn't working

Comments

@NullVoxPopuli
Copy link
Owner

https://github.com/NullVoxPopuli/ember-resources/blob/main/ember-resources/src/util/remote-data.ts#L126

Currently, isError is only true when fetch rejects. Which it won't for 404s against non-json apis.

@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Mar 16, 2023
@NullVoxPopuli NullVoxPopuli mentioned this issue Mar 16, 2023
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant