From c2f6ec846b5d8708fd77d0fd1b6348ddecd2d281 Mon Sep 17 00:00:00 2001 From: Christian Fehmer Date: Wed, 30 Apr 2025 07:34:51 +0200 Subject: [PATCH] fix: very slow generation of tests in large languages (@fehmer, @miodec) (#6506) !nuf --- frontend/src/ts/sentry.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/ts/sentry.ts b/frontend/src/ts/sentry.ts index 99ec374fa..bb93c4a12 100644 --- a/frontend/src/ts/sentry.ts +++ b/frontend/src/ts/sentry.ts @@ -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; + }, }); }