From 8ad72af29462b4ea71184573f373fa15b6bf5125 Mon Sep 17 00:00:00 2001 From: Finn Herzfeld Date: Tue, 8 Jan 2019 13:24:35 -0800 Subject: [PATCH] testhelper panic on sql error --- testhelper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/testhelper.go b/testhelper.go index c9c67d3..704bb02 100644 --- a/testhelper.go +++ b/testhelper.go @@ -29,6 +29,7 @@ func main() { fmt.Fprintf(w, "An error occured: %s\n", err) } else { fmt.Fprintf(w, "%s\n", code) + panic(err) } })