diff --git a/internal/lsp/server.go b/internal/lsp/server.go index c58d89d5..e5bfd249 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -625,7 +625,7 @@ func (l *LanguageServer) loadWorkspaceContents() error { err := filepath.WalkDir(workspaceRootPath, func(path string, d os.DirEntry, err error) error { if err != nil { - return fmt.Errorf("failed to walk workspace dir %q: %w", d.Name(), err) + return fmt.Errorf("failed to walk workspace dir %q: %w", path, err) } // TODO(charlieegan3): make this configurable for things like .rq etc?