Skip to content

ignoreSentryInternalFrames in thirdPartyErrorFilterIntegration doesn't work when minification enabled #20687

@krokyze

Description

@krokyze

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/vue: 10.51.0
@sentry/webpack-plugin: 5.2.1

Link to Sentry event

https://andelemandele.sentry.io/issues/7447012311/

Steps to Reproduce

  1. Configure Sentry integration
Sentry.thirdPartyErrorFilterIntegration({
	filterKeys: ['andelemandele-public-website'],
	behaviour: 'drop-error-if-exclusively-contains-third-party-frames',
	ignoreSentryInternalFrames: true,
})
  1. Ensure production build uses minification

Expected Result

The sentryWrapped frame should be recognized as a Sentry internal frame and ignored when evaluating whether the error is exclusively third-party.

Actual Result

The error is not dropped. The sentryWrapped frame is classified as a first-party/application frame because it's bundled into the app and tagged with the applicationKey.

Additional Context

No response

Priority

No response

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions