diff --git a/cmd/bundle/generate/app.go b/cmd/bundle/generate/app.go index a10680df..2c0b6583 100644 --- a/cmd/bundle/generate/app.go +++ b/cmd/bundle/generate/app.go @@ -136,6 +136,9 @@ func getAppConfig(ctx context.Context, app *apps.App, w *databricks.WorkspaceCli cmdio.LogString(ctx, fmt.Sprintf("Reading app configuration from %s", configFile)) content, err := io.ReadAll(r) + if err != nil { + return nil, err + } var appConfig map[string]interface{} err = yaml.Unmarshal(content, &appConfig)