Log error messages from goamz.

This commit is contained in:
Jeremy Carroll 2013-08-09 11:55:34 -07:00
parent f909bc29ed
commit c94287bbde

View File

@ -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
}