refactor: improve log and error messages (#2708)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-10-12 21:33:05 +02:00
1 parent 5d3c7b7025
commit 664d7c88e1
10 files changed
+55 -52

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ func (watch *watch) start() {
watcher, err := fsnotify.NewWatcher()
if err != nil {
log.Printf("start watcher: %s", err)
log.Printf("starting watcher: %s", err)
return
}
@@ -79,7 +79,7 @@ func (watch *watch) add(path string) {
}
if err := watch.watcher.Add(path); err != nil {
log.Printf("watch path %s: %s", path, err)
log.Printf("watching path %s: %s", path, err)
return
}