From 6a770b90b4440f6f80c64815f272f7950a526180 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 16 Sep 2025 19:48:29 -0400 Subject: [PATCH] [skip ci] tweak event --- playlet-lib/src/components/VideoPlayer/VideoPlayer.bs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs index 92051bb3..c50df54d 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs @@ -460,7 +460,12 @@ function OnVideoPlayerStateChange() as void content.playletStreamUrlIndex = playletStreamUrlIndex if playletStreamUrlIndex < playletStreamUrls.Count() nextUrl = playletStreamUrls[playletStreamUrlIndex] - LogError(`Stream ${currentUrl} failed to play. Trying next stream ${nextUrl}`) + LogErrorNoTelemetry(`Stream ${currentUrl} failed to play. Trying next stream ${nextUrl}`) + LogTelemetryEvent({ + level: "error" + message: `Stream ${currentUrl} failed to play. Trying next stream ${nextUrl}` + fingerprint: ["Stream failed to play. Trying next stream "] + }) if StringUtils.IsNullOrEmpty(nextUrl) LogError("Next stream URL is empty, cannot try next stream")