Skip to content

Commit 93eae4f

Browse files
bentitojoelanford
andcommitted
Error message change to not be misleading
Co-authored-by: Joe Lanford <[email protected]>
1 parent 81f642b commit 93eae4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/resolve/catalog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func CatalogWalker(listCatalogs func(context.Context, ...client.ListOption) ([]c
270270

271271
// If no catalogs were processed at all, return a 'no catalogs' error
272272
if !processedCatalogs {
273-
return fmt.Errorf("no enabled catalogs found for package: %s", packageName)
273+
return errors.New("no enabled catalogs found")
274274
}
275275

276276
// Return an error if no valid bundle was found in any processed catalog

0 commit comments

Comments
 (0)