You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -18,7 +18,12 @@ export async function initialize(dsn: string) {
18
18
'Custom Object',// Called for errors coming from sandbox (https://sentry.io/organizations/codesandbox/issues/965255074/?project=155188&query=is%3Aunresolved&statsPeriod=14d)
19
19
'TypeScript Server Error',// Called from the TSC server
20
20
/^Canceled$/,// Used by VSCode to stop currently running actions
@@ -51,13 +53,13 @@ export async function initialize(dsn: string) {
51
53
// This is the spammy event that doesn't do anything: https://sentry.io/organizations/codesandbox/issues/1054971728/?project=155188&query=is%3Aunresolved
52
54
// Don't do anything with it right now, I can't seem to reproduce it for some reason.
53
55
// We need to add sourcemaps
54
-
returnundefined;
56
+
returnnull;
55
57
}
56
58
57
59
if(filename.includes('react-devtools-inline')){
58
60
// Outside of our scope for now, but we definitely want to check this out.
// This is an error coming from the sandbox, return with no error.
73
-
returnundefined;
75
+
returnnull;
74
76
}
75
77
76
78
if(
77
79
event.message&&
78
80
event.message.includes('Unexpected frame by generating stack.')
79
81
){
80
82
// A firefox error with error-polyfill, not critical. Referenced here: https://sentry.io/organizations/codesandbox/issues/1293236389/?project=155188&query=is%3Aunresolved
81
-
returnundefined;
83
+
returnnull;
82
84
}
83
85
84
-
85
-
86
86
returnevent;
87
87
},
88
88
});
@@ -91,30 +91,30 @@ export async function initialize(dsn: string) {
0 commit comments