feat(recycler): add error cecycler (#10)

This commit is contained in:
Li4n0
2021-04-26 16:31:32 +08:00
committed by GitHub
parent 7e99d93e43
commit 3d8507e682
19 changed files with 263 additions and 67 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ func (br BaseRule) Match(s string) (flag, flagGroup string, vars map[string]stri
return
} else {
if catcher, err := regexp.Compile(br.FlagFormat); err != nil {
log.Error("%s[rule:%s]", err, br.Name)
log.Warn("%s[rule:%s]", err, br.Name)
return
} else {
br.flagCatcher = catcher