From 8a5945aecb7e6d94cfe71a9946c0737753c02e01 Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Mon, 27 Jan 2020 16:05:25 -0800 Subject: [PATCH] Include unrecognized builder in error --- pkg/skaffold/initializer/builders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/skaffold/initializer/builders.go b/pkg/skaffold/initializer/builders.go index 463a5160afc..ce7f13f6f4b 100644 --- a/pkg/skaffold/initializer/builders.go +++ b/pkg/skaffold/initializer/builders.go @@ -195,7 +195,7 @@ func processCliArtifacts(artifacts []string) ([]builderImagePair, error) { pairs = append(pairs, pair) default: - return nil, errors.New("unknown builder type in CLI artifacts") + return nil, fmt.Errorf("unknown builder type in CLI artifacts: %q", a.Name) } } return pairs, nil