Skip to content

Commit 3777c51

Browse files
committed
Filter another error
1 parent 452b5df commit 3777c51

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/common/src/utils/analytics.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,15 @@ export async function initializeSentry(dsn: string) {
106106
) {
107107
const { filename } = event.stacktrace.frames[0];
108108

109+
if (
110+
filename.includes('typescript-worker') &&
111+
event.message &&
112+
event.message.includes('too much recursion')
113+
) {
114+
// https://sentry.io/organizations/codesandbox/issues/1293123855/events/b01ee0feb7e3415a8bb81b6a9df19152/?project=155188&query=is%3Aunresolved&statsPeriod=14d
115+
return undefined;
116+
}
117+
109118
if (
110119
filename.endsWith('codesandbox.editor.main.js') ||
111120
filename.startsWith('/extensions/')

0 commit comments

Comments
 (0)