From aadefe69724a6624f1595053f64bcac7152a0279 Mon Sep 17 00:00:00 2001 From: s1gr1d <32902192+s1gr1d@users.noreply.github.com> Date: Mon, 15 Dec 2025 14:14:13 +0100 Subject: [PATCH] ref(browser): Improve profiling debug statement --- packages/browser/src/profiling/UIProfiler.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/browser/src/profiling/UIProfiler.ts b/packages/browser/src/profiling/UIProfiler.ts index fc735e871e29..89edb4899a6a 100644 --- a/packages/browser/src/profiling/UIProfiler.ts +++ b/packages/browser/src/profiling/UIProfiler.ts @@ -199,7 +199,8 @@ export class UIProfiler implements ContinuousProfiler { private _setupTraceLifecycleListeners(client: Client): void { client.on('spanStart', span => { if (!this._sessionSampled) { - DEBUG_BUILD && debug.log('[Profiling] Session not sampled because of negative sampling decision.'); + DEBUG_BUILD && + debug.log('[Profiling] Span not profiled because of negative sampling decision for user session.'); return; } if (span !== getRootSpan(span)) {