Skip to content

Commit

Permalink
Remove logrus dependency from i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Nov 29, 2024
1 parent dd8c35a commit a3c9f72
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/i18n/detect_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ import (
"strings"
"syscall"
"unsafe"

"github.com/sirupsen/logrus"
)

func getLocaleIdentifier() string {
defer func() {
if r := recover(); r != nil {
logrus.WithField("error", r).Errorf("Failed to get windows user locale")
// ignore error and do not panic
}
}()

Expand Down

0 comments on commit a3c9f72

Please sign in to comment.