This commit is contained in:
shoopea 2019-05-08 19:01:20 +08:00
parent 683fbdd84a
commit 89346b4507

2
sql.go
View File

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