Fail upon error

This commit is contained in:
Chandler Swift 2021-10-18 23:31:17 -05:00
parent 64d3923b1e
commit c1cf6ee3a7
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -184,7 +184,7 @@ func main() {
} }
err = generateHTML(getSites(*largest, wd), file) err = generateHTML(getSites(*largest, wd), file)
if err != nil { if err != nil {
fmt.Println(err) log.Fatal(err)
} }
} }
} }