-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
TypeError: Sentry.thirdPartyErrorFilterIntegration is not a function #13297
Comments
Hi, generally it would make sense to export this integration, however it will likely not work with our loader. The integration filters based on "marked" events, and since the loader is not marked by the vite plugin, it would drop (or tag) all events that includes stack frames with the loader script in it - which very likely would be almost all of them because the SDK wraps a lot of functions. We will document that the loader script doesn't support the integration though. |
@lforst, how can we enable this if not using Loader SDK or CDN? NPM install? Docs says that it's available using Browser based SDK. |
Correct, if you install (and use!) the SDK exclusively via npm (and not via the CDN!), you can use it as the docs describe. Don't mix npm and the CDN though. The integration will not work with the CDN or loader. |
Got it thanks 👍 |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
Sentry Browser Loader
SDK Version
8.x.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
Steps to Reproduce
Expected Result
thirdPartyErrorFilterIntegration should work
Actual Result
browser console errors: Sentry.thirdPartyErrorFilterIntegration is not a function
Contacted support; they informed me that the bundle containing the feature hasn't been created yet and suggested creating a ticket here
The text was updated successfully, but these errors were encountered: