We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1b3a0 commit c314bf6Copy full SHA for c314bf6
src/index.tsx
@@ -18,11 +18,14 @@ Sentry.init({
18
/GraphQL/i, // filter out graphql errors
19
/Failed to fetch/i // filter out failed to fetch network errors
20
]
21
-
+
22
// filter out blacklisted errors
23
if (error && error.message) {
24
- for (const filter in ignoreErrors) {
+ console.log("SENTRY ERR")
25
+ for (const filter of ignoreErrors) {
26
+ console.log("SENTRY FILTER", filter)
27
if (error.message.match(filter)) {
28
+ console.log("SENTRY MATCH", filter)
29
return null
30
}
31
0 commit comments