From 81a9e89e07d4e9ac30ba992eb7b398a00c16d91a Mon Sep 17 00:00:00 2001 From: hao Date: Fri, 12 Mar 2021 18:47:03 +0000 Subject: [PATCH] updated . --- modules/scraper/scraper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/scraper/scraper.go b/modules/scraper/scraper.go index 5051313..a316bda 100644 --- a/modules/scraper/scraper.go +++ b/modules/scraper/scraper.go @@ -232,7 +232,7 @@ func (scraper *scraper) setRule() error { rule := rules[0] if utility.IsNil(rule.ID, rule.Pattern, rule.TargetLocation) { log.Println("Unable to read rule information") - return errors.New("Unable to read rule information") + return errors.New("Unable to read rule information.") } scraper.rule = rule } else {