Skip to content

docs(js): Further clarify denyUrls #13481

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

Merged
merged 1 commit into from
Apr 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions includes/platforms/configuration/options/deny-urls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ Errors that have been created on these URLs won't be sent to Sentry.
If you use this option, errors will not be sent when the top stack frame file URL contains or matches at least one entry in the `denyUrls` array.
All string entries in the array will be matched with `stackFrameUrl.contains(entry)`, while all RegEx entries will be matched with `stackFrameUrl.match(entry)`.

This option checks the source file URL in the stack trace, not the HTTP URL where the error was reported. For more fine grained filtering please refer to [beforeSend](/platforms/javascript/guides/react/configuration/options/#beforeSend).

This matching logic applies to captured exceptions not raw message events. By default, all errors are sent.