Skip to content

Aborted requests get console logged as errors #107

@smackfu

Description

@smackfu

🐞 Bug Report

Describe the bug

When you abort an inflight request, it is logged to the console as an error.

Image

To Reproduce

Set up an AbortController as described in the README.
https://github.com/americanexpress/fetchye?tab=readme-ov-file#abort-inflight-requests

Code Sandbox:
https://codesandbox.io/p/sandbox/blissful-sun-fd2fq5

Expected behavior

Since this is an expected program flow and handled, there should be no error logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions