Skip to content

Commit 3c19307

Browse files
authored
Update filewatcher.go
1 parent 3941208 commit 3c19307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filewatcher/filewatcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (f *FileWatcher) Scan() ([]string, bool, error) {
5959
for _, path := range f.files {
6060
info, err := os.Stat(path)
6161
if err != nil {
62-
f.logger.Error("Error getting stats for file: %s", path)
62+
f.logger.Errorf("Error getting stats for file: %s", path)
6363
continue
6464
}
6565

0 commit comments

Comments
 (0)