Fix js relay WebSocket close, raise RDP dial timeout, adjust WASM log levels

This commit is contained in:
Viktor Liu
2026-07-07 13:10:52 +02:00
parent 47352e6e45
commit 362d93eb4f
7 changed files with 49 additions and 5 deletions
+6 -1
View File
@@ -11,6 +11,7 @@ import (
"runtime"
"sort"
"strings"
"syscall"
log "github.com/sirupsen/logrus"
@@ -439,7 +440,11 @@ func (s *ServiceManager) GetStatePath() string {
activeProf, err := s.GetActiveProfileState()
if err != nil {
log.Warnf("failed to get active profile state: %v", err)
if errors.Is(err, syscall.ENOSYS) {
log.Debugf("active profile state unavailable on this platform: %v", err)
} else {
log.Warnf("failed to get active profile state: %v", err)
}
return defaultStatePath
}