mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 15:46:44 +00:00
feat(BRIDGE-238): Added host information to sentry events; new sentry event for keychain issues
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user