testhelper panic on sql error

This commit is contained in:
Finn Herzfeld 2019-01-08 13:24:35 -08:00
parent c824e62d21
commit 8ad72af294

View file

@ -29,6 +29,7 @@ func main() {
fmt.Fprintf(w, "An error occured: %s\n", err) fmt.Fprintf(w, "An error occured: %s\n", err)
} else { } else {
fmt.Fprintf(w, "%s\n", code) fmt.Fprintf(w, "%s\n", code)
panic(err)
} }
}) })