Introduce usage of potoken for GVS for visitor data users
This commit is contained in:
1 parent
5e34ce8067
commit
7e21e46ec0
4 files changed
+47
-4
No files matched your search
@@ -1404,6 +1404,17 @@ function ReportVideoError(errorData as object, url as dynamic, urls as object, u
|
||||
data: ValidString(ReadAsciiFile("cachefs:/last_player_response.json"))
|
||||
}]
|
||||
end if
|
||||
potAttached = "false"
|
||||
loggedIn = "false"
|
||||
content = m.top.content
|
||||
if content <> invalid
|
||||
if ValidBool(content.potAttached)
|
||||
potAttached = "true"
|
||||
end if
|
||||
if ValidBool(content.loggedIn)
|
||||
loggedIn = "true"
|
||||
end if
|
||||
end if
|
||||
message = [
|
||||
errorData.title
|
||||
errorData.body
|
||||
@@ -1413,8 +1424,12 @@ function ReportVideoError(errorData as object, url as dynamic, urls as object, u
|
||||
`Url: ${url}`
|
||||
"Urls: " + FormatJson(urls)
|
||||
`Url index: ${urlIndex}`
|
||||
`pot_attached: ${potAttached}`
|
||||
`logged_in: ${loggedIn}`
|
||||
].Join(Chr(10))
|
||||
errorData.fingerprint.Push(shownInDialog)
|
||||
errorData.fingerprint.Push(potAttached)
|
||||
errorData.fingerprint.Push(loggedIn)
|
||||
if shownInDialog
|
||||
level = "error"
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user