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)