From cf781262f631f02d78614e299836f0c515c64362 Mon Sep 17 00:00:00 2001 From: Siyuan Date: Wed, 15 Oct 2025 18:18:14 +0000 Subject: [PATCH] fix: return value not checked --- native.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/native.go b/native.go index a703bb5a..39c1fa0a 100644 --- a/native.go +++ b/native.go @@ -60,7 +60,9 @@ func initNative(systemVersion *semver.Version, appVersion *semver.Version) { }) 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" { nativeInstance.DoNotUseThisIsForCrashTestingOnly()