Skip to content

Commit

Permalink
Update list.go with more descriptive error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishorton authored Mar 14, 2024
1 parent 1ec8849 commit 0fa47c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/packager/composer/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func NewImportChain(head types.ZarfComponent, index int, originalPackageName, ar
}

if len(found) == 0 {
componentNotFound := "component %q not found in %q"
componentNotFound := "Component %q not found in %q satisfying %q. It's possible a component exists but it is not compatible with the selected architecture or flavor."
if isLocal {
return ic, fmt.Errorf(componentNotFound, name, relativeToHead)
} else if isRemote {
Expand Down

0 comments on commit 0fa47c9

Please sign in to comment.