This commit is contained in:
shoopea 2019-05-08 19:04:28 +08:00
parent 89346b4507
commit 528f13f356

5
sql.go
View File

@ -294,9 +294,8 @@ func loadMsgParsingRules() (map[int]MessageParsingRule, error) {
defer func() {
if rec := recover(); rec != nil {
log.Printf("loadMsgParsingRules : panic (%s) \n", rec)
err := errors.New("Can't load message parsing rules.")
return m, err
log.Printf("loadMsgParsingRules : panic %s \n", rec)
return
}
}()