From a00093415430a2ed4e6f55fe43bfec501f98aaf1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 27 Jun 2013 22:26:48 -0400 Subject: [PATCH] command/build: include the build name in the err/success output --- command/build/command.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/build/command.go b/command/build/command.go index 7b5e4ecb8..3fa9a79dc 100644 --- a/command/build/command.go +++ b/command/build/command.go @@ -187,10 +187,10 @@ func (c Command) Run(env packer.Environment, args []string) int { runArtifacts, err := b.Run(ui, env.Cache()) if err != nil { - ui.Error(fmt.Sprintf("Build errored: %s", err)) + ui.Error(fmt.Sprintf("Build '%s' errored: %s", name, err)) errors[name] = err } else { - ui.Say("Build finished.") + ui.Say(fmt.Sprintf("Build '%s' finished.", name)) artifacts[name] = runArtifacts } }(b)