diff --git a/pkg/ruler/ruler.go b/pkg/ruler/ruler.go index 6a5075d..9757257 100644 --- a/pkg/ruler/ruler.go +++ b/pkg/ruler/ruler.go @@ -47,6 +47,9 @@ func (r *Ruler) Execute(ctx context.Context, ruleName string, project project.Pr } } if len(errorMessages) > 0 { + for _, errorMessage := range errorMessages { + r.logger.Error(fmt.Sprintf("error on rule %s for project %s: %s", ruleName, project.Name, errorMessage)) + } return aggregates.RuleResult{ Success: false, RuleName: ruleName,