Skip to content

fetch instrumentation breaks is-network-error package in SafariΒ #13671

@camsteffen

Description

@camsteffen

I am trying to use the is-network-error package to filter out network errors being sent to Sentry, but Sentry fills in error.stack which breaks is-network-error's expectation that error.stack === undefined in Safari. See sindresorhus/is-network-error#7.

I'm not sure what a proper solution to this problem should look like. Perhaps Sentry could add some flag to the error object to indicate that it is was modified?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions