Skip to content

Commit

Permalink
fic on error msj
Browse files Browse the repository at this point in the history
  • Loading branch information
leoporoli committed Jan 2, 2024
1 parent 6d1e6a3 commit 4ebf6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog-validator/validation/rules/invalid_rule_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (ruleReport *CheckResult) GetFailures() map[types.PackageName][]string {
func (ruleReport *CheckResult) GetFailuresForPackage(packageName types.PackageName) ([]string, error) {
failures, found := ruleReport.failures[packageName]
if !found {
return nil, stacktrace.NewError("Expected to find failures for package '%s' but nothing was found, this is a bug in the catalog")
return nil, stacktrace.NewError("Expected to find failures for package '%s' but nothing was found, this is a bug in the catalog", packageName)
}
return failures, nil
}

0 comments on commit 4ebf6dd

Please sign in to comment.