Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove logrus dependency from i18n
  • Loading branch information
cmaglie committed Nov 29, 2024
commit a3c9f72668fbb4134da6e6c0b3ac9aaba46e7916
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