Skip to content

ExtraErrorData + AxiosError don't work #4022

@naseemkullah

Description

@naseemkullah

image

Though ExtraErrorData is enabled, I've noticed that for Axios errors, everything is [undefined] (except for [config])(https://github.com/axios/axios/blob/7d6bddba2d8de29c263feaef4c40daa50cb4b176/lib/core/enhanceError.js#L14)

Workaround is to use a beforeSend hook to ensure the AxiosError props, or at least the desired ones, do make their way to Sentry, but feels like there should not be the need for this with extraErrorData integrated:

Any idea why this might be happening?

Version:

6.13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions