Skip to content

Commit 1c7d82b

Browse files
committed
Ignore more errors in Sentry
1 parent f8316ba commit 1c7d82b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/common/src/utils/analytics/sentry.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ export async function initialize(dsn: string) {
5353
// We need to add sourcemaps
5454
return undefined;
5555
}
56+
57+
if (filename.includes('react-devtools-inline')) {
58+
// Outside of our scope for now, but we definitely want to check this out.
59+
// TODO: check what's happening here: https://sentry.io/organizations/codesandbox/issues/1239466583/?project=155188&query=is%3Aunresolved+release%3APROD-1573653062-4134efc0a
60+
return undefined;
61+
}
5662
}
5763

5864
const customError = ((hint && (hint.originalException as any)) || {})
@@ -75,6 +81,8 @@ export async function initialize(dsn: string) {
7581
return undefined;
7682
}
7783

84+
85+
7886
return event;
7987
},
8088
});

0 commit comments

Comments
 (0)