Skip to content

Commit 6bd7046

Browse files
committed
Ignore errors from tsserver
1 parent e76d956 commit 6bd7046

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ export async function initialize(dsn: string) {
7878
// We need to add sourcemaps
7979
return null;
8080
}
81+
82+
if (filename.includes('tsserver.js')) {
83+
// We don't have control over this
84+
return null;
85+
}
8186
}
8287

8388
const customError = ((hint && (hint.originalException as any)) || {})

0 commit comments

Comments
 (0)