Skip to content

How to ignore errors in interceptors after request cancellation #6520

Open
@2840365628

Description

Describe the issue

When I cancel a request, I will enter the failure handling in the response interceptor. How to prevent throwing an exception here because I don't want to see the error of canceling the request printing in the console

Example Code

No response

Expected behavior

No response

Axios Version

No response

Adapter Version

No response

Browser

No response

Browser Version

No response

Node.js Version

No response

OS

No response

Additional Library Versions

No response

Additional context/Screenshots

No response

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