Skip to content

Commit c2f6ec8

Browse files
authored
fix: very slow generation of tests in large languages (@fehmer, @Miodec) (monkeytypegame#6506)
!nuf
1 parent bbd5cf2 commit c2f6ec8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/src/ts/sentry.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ export function init(): void {
4444
"NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.",
4545
"Error: There is no clipping info for given tab",
4646
],
47+
beforeBreadcrumb(breadcrumb, _hint) {
48+
if (breadcrumb.category === "console" && breadcrumb.level === "debug") {
49+
return null;
50+
}
51+
return breadcrumb;
52+
},
4753
});
4854
}
4955

0 commit comments

Comments
 (0)