Skip to content

Commit 5bfc121

Browse files
committed
Ignore all errors from 'codesandbox.editor.main.js
1 parent 8a0f4c0 commit 5bfc121

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
@@ -37,7 +37,11 @@ export async function initializeSentry(dsn: string) {
3737
* Don't send messages from the sandbox, so don't send from eg.
3838
* new.codesandbox.io or new.csb.app
3939
*/
40-
blacklistUrls: [/.*\.codesandbox\.io/, /.*\.csb\.app/],
40+
blacklistUrls: [
41+
'codesandbox.editor.main.js',
42+
/.*\.codesandbox\.io/,
43+
/.*\.csb\.app/,
44+
],
4145
beforeSend: event => {
4246
if (
4347
event.stacktrace.frames[0] &&

0 commit comments

Comments
 (0)