Improve logging

This commit is contained in:
Daniel 2024-03-05 11:45:00 +01:00
parent 5def16e542
commit 0ebe494c6c
2 changed files with 3 additions and 2 deletions

View file

@ -435,7 +435,7 @@ func checkOnlineStatus(ctx context.Context) {
ipv4, ipv6, err := GetAssignedAddresses()
if err != nil {
log.Warningf("network: failed to get assigned network addresses: %s", err)
log.Warningf("netenv: failed to get assigned network addresses: %s", err)
} else {
var lan bool

View file

@ -77,7 +77,8 @@ func searchDirectory(directory string, binPath string) (iconPath string, err err
}
return "", fmt.Errorf("failed to read directory %s: %w", directory, err)
}
fmt.Println(directory)
// DEBUG:
// fmt.Println(directory)
var (
bestMatch string