Skip to content

Commit a9f391a

Browse files
committed
Make error message more specific
1 parent a321105 commit a9f391a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/meta_backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ func (m *Meta) backendFromConfig(opts *BackendOpts) (backend.Backend, tfdiags.Di
695695
statePath := filepath.Join(m.DataDir(), DefaultStateFilename)
696696
sMgr := &clistate.LocalState{Path: statePath}
697697
if err := sMgr.RefreshState(); err != nil {
698-
diags = diags.Append(fmt.Errorf("Failed to load state: %s", err))
698+
diags = diags.Append(fmt.Errorf("Failed to load the backend state file: %s", err))
699699
return nil, diags
700700
}
701701

0 commit comments

Comments
 (0)