testhelper panic on sql error
This commit is contained in:
parent
c824e62d21
commit
8ad72af294
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ func main() {
|
|||
fmt.Fprintf(w, "An error occured: %s\n", err)
|
||||
} else {
|
||||
fmt.Fprintf(w, "%s\n", code)
|
||||
panic(err)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue