Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

add some debug logging to diagnose 'no file results' issue

Dane Schneider897d61e33edc
diff --git a/app/server/model/plan/build_verify_state.go b/app/server/model/plan/build_verify_state.go
index 6271d66d..c733db98 100644
--- a/app/server/model/plan/build_verify_state.go
+++ b/app/server/model/plan/build_verify_state.go
@@ -6,6 +6,8 @@ import (
"plandex-server/db"
"plandex-server/types"
"time"
+
+ "github.com/davecgh/go-spew/spew"
)
type verifyState struct {
@@ -21,6 +23,9 @@ func (fileState *activeBuildStreamFileState) GetVerifyState() (*verifyState, err
fileResults := planState.PlanResult.FileResultsByPath[path]
if fileResults == nil {
+ log.Println("No file results for path: ", path)
+ log.Println(spew.Sdump(planState.PlanResult.FileResultsByPath))
+
return nil, fmt.Errorf("no file results for path: %s", path)
}