]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/files.go
Ignore files with incompatible names
[rbdr/mobius] / hotline / files.go
index 9357bdbaef42dd151c2fe88c0a0591d177ca7c9c..dcabf9d986e8057d52ae3302528afc743bf9eb0c 100644 (file)
@@ -123,7 +123,7 @@ func getFileNameList(path string, ignoreList []string) (fields []Field, err erro
                strippedName := strings.ReplaceAll(file.Name(), ".incomplete", "")
                strippedName, err = txtEncoder.String(strippedName)
                if err != nil {
                strippedName := strings.ReplaceAll(file.Name(), ".incomplete", "")
                strippedName, err = txtEncoder.String(strippedName)
                if err != nil {
-                       return nil, err
+                       continue
                }
 
                nameSize := make([]byte, 2)
                }
 
                nameSize := make([]byte, 2)