diff --git a/internal/runners/export/recipe.go b/internal/runners/export/recipe.go index 34c32411a3..fb078ce467 100644 --- a/internal/runners/export/recipe.go +++ b/internal/runners/export/recipe.go @@ -99,5 +99,10 @@ func fetchRecipe(proj *project.Project, commitID strfmt.UUID, platform string) ( commitID = *dcommitID } - return model.FetchRawRecipeForCommitAndPlatform(commitID, proj.Owner(), proj.Name(), platform) + recipe, err := model.FetchRawRecipeForCommitAndPlatform(commitID, proj.Owner(), proj.Name(), platform) + if err != nil { + return "", locale.WrapError(err, "err_fetch_recipe", "Unable to fetch recipe") + } + + return recipe, nil }