diff --git a/cmd/thanos/rule.go b/cmd/thanos/rule.go index cdcf3c3ae13..87afc357d3f 100644 --- a/cmd/thanos/rule.go +++ b/cmd/thanos/rule.go @@ -495,6 +495,7 @@ func runRule( // Initialize rules. if err := reloadRules(logger, ruleFiles, ruleMgr, evalInterval, metrics); err != nil { level.Error(logger).Log("msg", "initialize rules failed", "err", err) + return err } for { select {