diff --git a/src/cmd/linuxkit/push_aws.go b/src/cmd/linuxkit/push_aws.go index 732d83328..f443f6573 100644 --- a/src/cmd/linuxkit/push_aws.go +++ b/src/cmd/linuxkit/push_aws.go @@ -138,6 +138,8 @@ func pushAWS(args []string) { if snapshotID == nil { log.Fatalf("SnapshotID unavailable after import completed") + } else { + log.Debugf("SnapshotID: %s", snapshotID) } regParams := &ec2.RegisterImageInput{ @@ -160,7 +162,7 @@ func pushAWS(args []string) { log.Debugf("RegisterImage:\n%v", regParams) regResp, err := compute.RegisterImage(regParams) if err != nil { - log.Fatalf("Error registering the image: %s", err) + log.Fatalf("Error registering the image: %s; %s", name, err) } log.Infof("Created AMI: %s", *regResp.ImageId) }