Skip to content

Commit

Permalink
continue on parsing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Jacob committed Aug 5, 2024
1 parent adbdb5c commit 91133ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,12 @@ func run(tz *time.Location, outputdir string, motdSummary *string, motdDescripti
}
wg.Wait()
if len(threadErrors) > 0 {
log.Println("errors occurred:")
for _, e := range threadErrors {
log.Println(e)
}
log.Fatalln("exiting due to errors above")
log.Println("continuing")
threadErrors = []error{}
}
log.Println(
fmt.Sprintf(
Expand Down

0 comments on commit 91133ed

Please sign in to comment.