fix: return value not checked

This commit is contained in:
Siyuan 2025-10-15 18:18:14 +00:00
parent dcb8c79820
commit cf781262f6
1 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,9 @@ func initNative(systemVersion *semver.Version, appVersion *semver.Version) {
}) })
nativeInstance.Start() nativeInstance.Start()
nativeInstance.VideoSetEDID(config.EdidString) if err := nativeInstance.VideoSetEDID(config.EdidString); err != nil {
nativeLogger.Warn().Err(err).Msg("error setting EDID")
}
if os.Getenv("JETKVM_CRASH_TESTING") == "1" { if os.Getenv("JETKVM_CRASH_TESTING") == "1" {
nativeInstance.DoNotUseThisIsForCrashTestingOnly() nativeInstance.DoNotUseThisIsForCrashTestingOnly()