mirror of
https://github.com/idanoo/NZCovidBot
synced 2025-07-03 04:02:14 +00:00
Skip error
This commit is contained in:
parent
02d088b33b
commit
dde434015f
1 changed files with 1 additions and 6 deletions
|
@ -159,7 +159,7 @@ func loadRowsIntoCache(filePath string) {
|
|||
break
|
||||
}
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
continue
|
||||
}
|
||||
|
||||
// Skip header row
|
||||
|
@ -172,11 +172,6 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue