fix(tools): add hint for project_not_found error

This commit is contained in:
Hein committed 2026-04-02 16:36:15 +02:00
1 parent 9cfcb5621b
commit d1d140e464
2 files changed
+11 -1

No files matched your search

+1
View File
@@ -87,6 +87,7 @@ func resolveProject(ctx context.Context, db *store.DB, sessions *session.ActiveP
Type: mcperrors.TypeProjectNotFound,
Field: "project",
Project: projectRef,
Hint: fmt.Sprintf("project %q does not exist yet; call create_project with name=%q first, then retry", projectRef, projectRef),
},
)
}