This commit is contained in:
Mario
2023-06-16 23:37:30 +02:00
parent b05a44a3c5
commit 6c9f6dd477

View File

@ -135,7 +135,9 @@ func gelAllFilesNameByDirName(dirName string) ([]string, error) {
if !file.IsDir() && strings.Contains(file.Name(), extension) { if !file.IsDir() && strings.Contains(file.Name(), extension) {
filesName = append(filesName, file.Name()) filesName = append(filesName, file.Name())
} else { } else {
log.Debugf("Ignore ") log.WithFields(log.Fields{
"name": file.Name(),
}).Warning("Ignore file")
} }
} }
return filesName, nil return filesName, nil