feat(BRIDGE-238): Added host information to sentry events; new sentry event for keychain issues

This commit is contained in:
Atanas Janeshliev
2024-10-25 16:40:46 +02:00
parent 810be2d423
commit 4d2b328589
7 changed files with 71 additions and 28 deletions

View File

@ -20,12 +20,10 @@
package sentry
import "github.com/elastic/go-sysinfo"
import (
"github.com/elastic/go-sysinfo/types"
)
func getHostArch() string {
host, err := sysinfo.Host()
if err != nil {
return "not-detected"
}
func getHostArch(host types.Host) string {
return host.Info().Architecture
}