Panic handler didn't actually work.

This commit is contained in:
Zed A. Shaw 2025-06-25 00:00:37 -04:00
parent 0c47f02201
commit 57d892e35c

View file

@ -48,7 +48,7 @@ fail: return err
}
func Insert(err error, sql_query string, args ...interface{}) (error) {
defer util.HandlePanic("Insert")
defer util.HandlePanic("Insert")()
if err != nil { return err }
DB.MustExec(sql_query, args...)
return err