From c2ce7f45feae0aa733998413bfb6044741795aac Mon Sep 17 00:00:00 2001 From: Tedi Mitiku Date: Tue, 19 Nov 2024 22:42:40 -0500 Subject: [PATCH] lint --- cli/cli/commands/run/run.go | 3 +++ 1 file changed, 3 insertions(+) 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