mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-22 06:02:23 -04:00
Merge pull request #259 from phobos182/debug
builder/amazon/common: Log error messages from goamz on state change errors
This commit is contained in:
@@ -36,6 +36,7 @@ func InstanceStateRefreshFunc(conn *ec2.EC2, i *ec2.Instance) StateRefreshFunc {
|
||||
return func() (interface{}, string, error) {
|
||||
resp, err := conn.Instances([]string{i.InstanceId}, ec2.NewFilter())
|
||||
if err != nil {
|
||||
log.Printf("Error on InstanceStateRefresh: %s", err)
|
||||
return nil, "", err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user