Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
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
// Configure sentryOnLoad before adding the Loader Script
window.sentryOnLoad = function() {
Sentry.init({
dsn: '{{ config('sentry-browser.public_dsn') }}',
environment: {!! json_encode(App::environment()) !!},
integrations: [
Sentry.captureConsoleIntegration({
levels: ['warn', 'error']
}),
Sentry.thirdPartyErrorFilterIntegration({
filterKeys: ['am-web-filter-key'],
behaviour: 'apply-tag-if-contains-third-party-frames',
}),
],
beforeSend(event) {
if (!event?.message) return event;
const isIgnoredMessage = consoleIgnores.some(ignore => event
.message.includes(ignore));
return isIgnoredMessage ? null : event;
},
denyUrls: [
//redacted
],
ignoreErrors: [
//redacted
],
});
Sentry.lazyLoadIntegration("captureConsoleIntegration").then(
(integration) => {
Sentry.addIntegration(integration());
},
);
};
</script>
Steps to Reproduce
- Updated script loader in web app to 8.x.0
- Included thirdPartyErrorFilterIntegration config
- Ensured app key defined in vite config
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
Metadata
Metadata
Assignees
Type
Projects
Status
No status