diff --git a/cli/cli/commands/run/run.go b/cli/cli/commands/run/run.go index e84f4046ae..920bdc2a71 100755 --- a/cli/cli/commands/run/run.go +++ b/cli/cli/commands/run/run.go @@ -695,6 +695,9 @@ func getPackageDependencyYaml( return nil, stacktrace.Propagate(err, "Unable to read content of Starlark script file '%s'", starlarkScriptOrPackageId) } packageYaml, err = enclaveCtx.GetStarlarkScriptPlanYaml(ctx, string(scriptContentBytes), packageArgs) + if err != nil { + return nil, stacktrace.Propagate(err, "An error occurred retrieving plan yaml for provided package.") + } } } return packageYaml, nil