From 2b7fabb5a1ff6092dd3ea62bd882dd0c02951b81 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sat, 8 Jun 2024 10:57:27 -0700 Subject: Ignore files with incompatible names --- hotline/files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotline/files.go b/hotline/files.go index 9357bdb..dcabf9d 100644 --- a/hotline/files.go +++ b/hotline/files.go @@ -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 { - return nil, err + continue } nameSize := make([]byte, 2) -- cgit