more debugging

This commit is contained in:
Matthew Hooker 2018-10-18 12:02:54 -07:00
parent 2536790e0a
commit 705fa976a8
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ func (s *stepCreateImage) Run(_ context.Context, state multistep.StateBag) multi
log.Printf("CreateMachineImageInput: %+v", createMI)
mi, err := machineImageClient.CreateMachineImage(createMI)
if err != nil {
err = fmt.Errorf("Error creating machine image: %s", err)
err = fmt.Errorf("Error creating machine image: %s, %+v", err, mi)
ui.Error(err.Error())
state.Put("error", err)
return multistep.ActionHalt