Skip to content

Commit

Permalink
fix: make error message better
Browse files Browse the repository at this point in the history
  • Loading branch information
crhntr committed Sep 23, 2022
1 parent 5942d70 commit 4f71083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cargo/load_kilnfiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (k KilnfileLoader) LoadKilnfiles(fs billy.Filesystem, kilnfilePath string,
templateVariablesService := baking.NewTemplateVariablesService(fs)
templateVariables, err := templateVariablesService.FromPathsAndPairs(variablesFiles, variables)
if err != nil {
return Kilnfile{}, KilnfileLock{}, fmt.Errorf("error processing --variable or --variables-file arguments - are you logged into lpass? (error: %w)", err)
return Kilnfile{}, KilnfileLock{}, fmt.Errorf("loading variables failed: %w", err)
}

kf, err := fs.Open(kilnfilePath)
Expand Down

0 comments on commit 4f71083

Please sign in to comment.