Refactor custom events

This commit is contained in:
Brahim Hadriche committed 2025-09-06 13:58:42 -04:00
1 parent c9a0e96905
commit 47a7ea21e6
6 files changed
+14 -11

No files matched your search

@@ -112,7 +112,7 @@ namespace InnertubeService
return GetVideoMetadata(videoId, options)
end if
if code = "MISSING_FORMAT_FIELD"
m.global.telemetry.LogEvent = {
LogTelemetryEvent({
level: "error"
message: code
fingerprint: code
@@ -125,7 +125,7 @@ namespace InnertubeService
content_type: "application/json"
data: playerResponse.Text()
}]
}
})
end if
throw exception
end try