From d876f819fcc398363f66ae935854af1164efc6d2 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 8 Nov 2025 14:09:59 -0500 Subject: [PATCH] [skip ci] mark transient playback error as a warning --- playlet-lib/src/components/VideoPlayer/VideoPlayer.bs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs index 475c92d2..66f1edb2 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs @@ -586,8 +586,14 @@ function ReportVideoError(errorData as object, url as dynamic, urls as object, u errorData.fingerprint.push(shownInDialog) + if shownInDialog + level = "error" + else + level = "warning" + end if + LogTelemetryEvent({ - level: "error" + level: level message: message fingerprint: errorData.fingerprint attachments: attachments