Skip to content

Commit a3c9f72

Browse files
committed
Remove logrus dependency from i18n
1 parent dd8c35a commit a3c9f72

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: internal/i18n/detect_windows.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ import (
1919
"strings"
2020
"syscall"
2121
"unsafe"
22-
23-
"github.com/sirupsen/logrus"
2422
)
2523

2624
func getLocaleIdentifier() string {
2725
defer func() {
2826
if r := recover(); r != nil {
29-
logrus.WithField("error", r).Errorf("Failed to get windows user locale")
27+
// ignore error and do not panic
3028
}
3129
}()
3230

0 commit comments

Comments
 (0)