[skip ci] capture player error position and duration
This commit is contained in:
1 parent
ad0c363ae0
commit
f59ed85b62
2 files changed
+7
-1
No files matched your search
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
- Nothing worth mentioning yet.
|
||||||
|
|
||||||
## [0.43.3] - 2025-10-30
|
## [0.43.3] - 2025-10-30
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -579,9 +579,11 @@ function ReportVideoError(errorData as object, url as string) as void
|
|||||||
}]
|
}]
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
position = m.top.position
|
||||||
|
duration = m.top.duration
|
||||||
LogTelemetryEvent({
|
LogTelemetryEvent({
|
||||||
level: "error"
|
level: "error"
|
||||||
message: errorData.title + " " + errorData.body + `\nurl: ${url}`
|
message: errorData.title + " " + errorData.body + `\nurl: ${url}\nposition: ${position}\nduration: ${duration}`
|
||||||
fingerprint: errorData.fingerprint
|
fingerprint: errorData.fingerprint
|
||||||
attachments: attachments
|
attachments: attachments
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user