We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b493066 commit 6dff21cCopy full SHA for 6dff21c
pkg/recipe/loader.go
@@ -45,7 +45,7 @@ func LoadRecipe(path string) (*Recipe, error) {
45
recipe := NewRecipe()
46
err = yaml.Unmarshal(dat, &recipe)
47
if err != nil {
48
- return nil, err
+ return nil, fmt.Errorf("error when reading %s file: %w", MetadataFileName+YAMLExtension, err)
49
}
50
51
recipe.Templates, err = loadTemplates(filepath.Join(rootDir, TemplatesDirName))
0 commit comments