Commit 85020a0a authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Merge pull request #259 from phobos182/debug

builder/amazon/common: Log error messages from goamz on state change errors
parents be4b94c6 6599f5a2
......@@ -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
}
......
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