internal/command: wrap formatted test errors (#596)

This commit is contained in:
Lars Lehtonen
2023-09-27 01:19:16 -07:00
committed by GitHub
parent 69f3c97db7
commit 23ad929d2f
3 changed files with 6 additions and 6 deletions

View File

@@ -209,7 +209,7 @@ func (provider *TestProvider) ApplyResourceChange(request providers.ApplyResourc
if !id.IsKnown() {
val, err := uuid.GenerateUUID()
if err != nil {
panic(fmt.Errorf("failed to generate uuid: %v", err))
panic(fmt.Errorf("failed to generate uuid: %w", err))
}
id = cty.StringVal(val)