Skip to content

Commit 1e9cb4d

Browse files
authored
docs: Add note regarding blacklist/whitelist and message events (#1524)
1 parent b195bdf commit 1e9cb4d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/collections/_documentation/platforms/javascript/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ to `integrations` option. For example, to turn off browser capturing console cal
703703
_Import name: `Sentry.Integrations.InboundFilters`_
704704

705705
This integration allows developers to ignore specific errors based on the type or message, as well as blacklist/whitelist URLs that originate from the exception.
706-
It ignores errors, which message starts with `Script error` or `Javascript error: Script error` by default. More on this in our ["What the heck is "Script error"?"](https://blog.sentry.io/2016/05/17/what-is-script-error) blog post.
706+
It ignores errors, which message starts with `Script error` or `Javascript error: Script error` by default. More on this in our ["What the heck is "Script error"?"](https://blog.sentry.io/2016/05/17/what-is-script-error) blog post. Also, keep in mind that blacklist and whitelist work only for captured exceptions, not raw message events.
707707

708708
To configure it, use `ignoreErrors`, `blacklistUrls`, and `whitelistUrls` SDK options directly.
709709

src/collections/_documentation/platforms/node/default-integrations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ to `integrations` option. For example: to change fatal error handler
1818
_Import name: `Sentry.Integrations.InboundFilters`_
1919

2020
This integration allows developers to ignore specific errors based on the type of message, as well as blacklist/whitelist URLs from which the exception originated.
21+
Keep in mind that blacklist and whitelist work only for captured exceptions, not raw message events.
2122

2223
To configure it, use `ignoreErrors`, `blacklistUrls` and `whitelistUrls` SDK options directly.
2324

0 commit comments

Comments
 (0)