mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
internal/command: wrap formatted errors (#519)
This commit is contained in:
@@ -150,7 +150,7 @@ func (c *RefreshCommand) OperationRequest(be backend.Enhanced, view views.Refres
|
||||
var err error
|
||||
opReq.ConfigLoader, err = c.initConfigLoader()
|
||||
if err != nil {
|
||||
diags = diags.Append(fmt.Errorf("Failed to initialize config loader: %s", err))
|
||||
diags = diags.Append(fmt.Errorf("Failed to initialize config loader: %w", err))
|
||||
return nil, diags
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user