Skip to content

Commit 72e49c6

Browse files
committed
Ignore errors from sandbox
1 parent 0762bf8 commit 72e49c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/common/src/utils/analytics.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ export async function initializeSentry(dsn: string) {
2828
return Sentry.init({
2929
dsn,
3030
release: VERSION,
31-
ignoreErrors: ['TypeScript Server Error', /^Canceled$/],
31+
ignoreErrors: [
32+
'Custom Object', // Called for errors coming from sandbox (https://sentry.io/organizations/codesandbox/issues/965255074/?project=155188&query=is%3Aunresolved&statsPeriod=14d)
33+
'TypeScript Server Error', // Called from the TSC server
34+
/^Canceled$/, // Used by VSCode to stop currently running actions
35+
],
3236
});
3337
}
3438
}

0 commit comments

Comments
 (0)