Panic handler didn't actually work.
This commit is contained in:
parent
0c47f02201
commit
57d892e35c
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ fail: return err
|
||||||
}
|
}
|
||||||
|
|
||||||
func Insert(err error, sql_query string, args ...interface{}) (error) {
|
func Insert(err error, sql_query string, args ...interface{}) (error) {
|
||||||
defer util.HandlePanic("Insert")
|
defer util.HandlePanic("Insert")()
|
||||||
if err != nil { return err }
|
if err != nil { return err }
|
||||||
DB.MustExec(sql_query, args...)
|
DB.MustExec(sql_query, args...)
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue