fix(tools): add hint for project_not_found error
This commit is contained in:
1 parent
9cfcb5621b
commit
d1d140e464
2 files changed
+11
-1
No files matched your search
@@ -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),
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user