Skip to content

Commit 584839e

Browse files
Luca Forstners1gr1d
andauthored
Note that thirdPartyErrorFilterIntegration is not supported with Loader or CDN bundles (#11053)
Co-authored-by: Sigrid Huemer <[email protected]>
1 parent 1b8a47d commit 584839e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/platforms/javascript/common/configuration/filtering.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ There are four modes you can choose from:
189189

190190
If you choose a mode to only apply tags, the tags can then be used in Sentry to filter your issue stream with the `third_party_code` tag in the issue search bar.
191191

192+
<Note>
193+
194+
The `thirdPartyErrorFilterIntegration` will not work with the [Sentry Loader Script or CDN Bundles](https://docs.sentry.io/platforms/javascript/install/loader/).
195+
This is the case because the Sentry Loader Script and CDN Bundles are detected as "third party" by the integration. This makes it apply the chosen behavior to almost all events, since the Sentry SDK wraps many browser-native APIs.
196+
197+
</Note>
198+
192199
## Filtering Transaction Events
193200

194201
To prevent certain transactions from being reported to Sentry, use the <PlatformIdentifier name="traces-sampler" /> or <PlatformIdentifier name="before-send-transaction" /> configuration option, which allows you to provide a function to evaluate the current transaction and drop it if it's not one you want.

0 commit comments

Comments
 (0)