provider/aws: fix vet error, missing fmt param

This commit is contained in:
Mitchell Hashimoto 2015-04-19 18:13:04 -07:00
parent 9f5fd24b85
commit 1c0f2f136c
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func resourceAwsS3BucketRead(d *schema.ResourceData, meta interface{}) error {
} else {
// some of the AWS SDK's errors can be empty strings, so let's add
// some additional context.
return fmt.Errorf("error reading S3 bucket \"%s\": %#v", d.Id())
return fmt.Errorf("error reading S3 bucket \"%s\": %s", d.Id(), err)
}
}