Add skip on load too

This commit is contained in:
Daniel Mason 2021-10-08 13:28:35 +13:00
parent 2e61500e73
commit 02d088b33b
Signed by: idanoo
GPG key ID: 387387CDBC02F132

View file

@ -172,6 +172,11 @@ func loadRowsIntoCache(filePath string) {
c := make([]string, 0)
c = append(c, row...)
if len(c) < 6 {
log.Printf("Skipping invalid row")
continue
}
st, et, err := parseRowTimes(c[4], c[5])
if err != nil {
continue