Skip to content

Commit

Permalink
Improve error when rendering of index.html fails
Browse files Browse the repository at this point in the history
Co-authored-by: Janos <[email protected]>
Signed-off-by: Matt John <[email protected]>
  • Loading branch information
MatthewJohn and Janos authored Jun 3, 2024
1 parent a08f63c commit c182f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releases-generator/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (g *generator) Generate() (map[string][]byte, error) {

result["index.html"], err = renderTemplate(indexTemplate, index)
if err != nil {
return nil, fmt.Errorf("failed to marshal index.html file: %w", err)
return nil, fmt.Errorf("failed to render the index.html file: %w", err)
}

for _, version := range index.Versions {
Expand Down

0 comments on commit c182f5a

Please sign in to comment.