[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
@@ -579,9 +579,11 @@ function ReportVideoError(errorData as object, url as string) as void
|
||||
}]
|
||||
end if
|
||||
|
||||
position = m.top.position
|
||||
duration = m.top.duration
|
||||
LogTelemetryEvent({
|
||||
level: "error"
|
||||
message: errorData.title + " " + errorData.body + `\nurl: ${url}`
|
||||
message: errorData.title + " " + errorData.body + `\nurl: ${url}\nposition: ${position}\nduration: ${duration}`
|
||||
fingerprint: errorData.fingerprint
|
||||
attachments: attachments
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user