mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
internal/command: wrap formatted test errors (#596)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user