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?