We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd8c35a commit a3c9f72Copy full SHA for a3c9f72
internal/i18n/detect_windows.go
@@ -19,14 +19,12 @@ import (
19
"strings"
20
"syscall"
21
"unsafe"
22
-
23
- "github.com/sirupsen/logrus"
24
)
25
26
func getLocaleIdentifier() string {
27
defer func() {
28
if r := recover(); r != nil {
29
- logrus.WithField("error", r).Errorf("Failed to get windows user locale")
+ // ignore error and do not panic
30
}
31
}()
32
0 commit comments