mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Improve logging
This commit is contained in:
parent
5def16e542
commit
0ebe494c6c
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue