From 77448f1fd691207100219779245e6df568b8393d Mon Sep 17 00:00:00 2001 From: sg Date: Mon, 3 Jun 2024 17:06:17 +0100 Subject: [PATCH] add ref to 'missing reference' message --- pkg/components/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/components/types.go b/pkg/components/types.go index 9b23d8dc2..0eee29f13 100644 --- a/pkg/components/types.go +++ b/pkg/components/types.go @@ -134,7 +134,7 @@ func FromReference(ctx context.Context, ref string) (Component, error) { task, err := manifests.LoadTektonV1Beta1Task(ctx, ".", ref) if err != nil { - return zero, errors.Errorf("could not load reference: %w", err) + return zero, errors.Errorf("%s:could not load reference: %w", ref, err) } componentType, err := ValidateTask(task)