fix: very slow generation of tests in large languages (@fehmer, @miodec) (#6506)

!nuf
This commit is contained in:
Christian Fehmer 2025-04-30 07:34:51 +02:00 committed by GitHub
parent bbd5cf2ba6
commit c2f6ec846b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,6 +44,12 @@ export function init(): void {
"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.",
"Error: There is no clipping info for given tab",
],
beforeBreadcrumb(breadcrumb, _hint) {
if (breadcrumb.category === "console" && breadcrumb.level === "debug") {
return null;
}
return breadcrumb;
},
});
}