Commit 4b665e39 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Fix the UI

parent fd2d8480
......@@ -37,7 +37,7 @@ func (Command) Run(env packer.Environment, args []string) int {
log.Printf("Creating build: %s\n", buildName)
build, err := tpl.Build(buildName, env.Builder)
if err != nil {
env.Ui().Error("Failed to create build '%s': \n\n%s\n", buildName, err)
env.Ui().Error("Failed to create build '%s': \n\n%s\n", buildName, err.Error())
return 1
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment