-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useSentry: Option to exclude errors from reporting #925
Comments
If you throw |
That's what I was doing essentially, but it fails the instanceof check as it's not the same class as in core. |
@dburles Can you create a minimal reproduction of this? |
This issue has kind of become two, a bug report for the bundled |
Available in |
Feature request
There's no way to exclude errors from being reported. Ideally there could be a configuration filter option to opt-out.
Something like:
I'd suggest renaming
skip
toskipOperation
if we go withskipError
.Bundling bug
I tried to extend my custom errors from EnvelopError as a workaround, though I was stumped as to why this didn't work until I realised for some reason it's actually being bundled into the Sentry plugin, https://unpkg.com/browse/@envelop/sentry@1.3.0/index.mjs so fails the instanceof check, when imported from
@envelop/core
.The text was updated successfully, but these errors were encountered: