Skip to content

Commit

Permalink
updated .
Browse files Browse the repository at this point in the history
  • Loading branch information
hao-hao-hao committed Mar 12, 2021
1 parent a130af0 commit 81a9e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/scraper/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 81a9e89

Please sign in to comment.