From 8462d28df712b9c68a14b345ef79f66d00576953 Mon Sep 17 00:00:00 2001 From: Hubert Sosinski Date: Wed, 18 Mar 2026 19:32:55 +0100 Subject: [PATCH] disable unnecessary logs --- src/libs/telemetry/activeSpans.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libs/telemetry/activeSpans.ts b/src/libs/telemetry/activeSpans.ts index 7bf4e47a6942e..e6c334140e108 100644 --- a/src/libs/telemetry/activeSpans.ts +++ b/src/libs/telemetry/activeSpans.ts @@ -44,7 +44,6 @@ function endSpan(spanId: string) { const entry = activeSpans.get(spanId); if (!entry) { - console.debug(`[Sentry][${spanId}] Trying to end span but it does not exist`, {spanId, timestamp: Date.now()}); return; } const {span, startTime} = entry; @@ -62,7 +61,6 @@ function cancelSpan(spanId: string) { if (!entry) { return; } - console.debug(`[Sentry][${spanId}] Canceling span`, {spanId, timestamp: Date.now()}); entry.span.setAttribute(CONST.TELEMETRY.ATTRIBUTE_CANCELED, true); // In Sentry there are only OK or ERROR status codes. // We treat canceled spans as OK, so we can properly track spans that are not finished at all (their status would be different)