This commit is contained in:
shoopea 2019-12-29 19:45:49 +08:00
parent 7d43e6281d
commit 386650df9b

View File

@ -30,7 +30,7 @@ func resetMsgParsingRules2() error {
} }
} }
_, err := db.Exec(`TRUNCATE TABLE msg_rules;`) _, err = db.Exec(`TRUNCATE TABLE msg_rules;`)
logOnError(err, "resetMsgParsingRules2 : truncate table msg_rules") logOnError(err, "resetMsgParsingRules2 : truncate table msg_rules")
if err != nil { if err != nil {
return err return err