diff --git a/pkg/internal/source/kind.go b/pkg/internal/source/kind.go index 7ba183a74d..6bf891a516 100644 --- a/pkg/internal/source/kind.go +++ b/pkg/internal/source/kind.go @@ -112,6 +112,6 @@ func (ks *Kind) WaitForSync(ctx context.Context) error { if errors.Is(ctx.Err(), context.Canceled) { return nil } - return errors.New("timed out waiting for cache to be synced") + return fmt.Errorf("timed out waiting for cache to be synced for Kind %T", ks.Type) } }