Skip to content

Error handling lacks fetch network errors #2

@nursoltan-s

Description

@nursoltan-s

fetch() can throw (e.g., network down), and you handle it — good.
But it can also return a response with ok = false (like 404), which you currently treat as success.
You might want to retry on specific status codes (e.g. 408, 429, 500–599).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions