Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

云函数 setCookbook 似乎有问题 #6

Open
nexmoe opened this issue Mar 27, 2022 · 4 comments
Open

云函数 setCookbook 似乎有问题 #6

nexmoe opened this issue Mar 27, 2022 · 4 comments

Comments

@nexmoe
Copy link

nexmoe commented Mar 27, 2022

res is undefined

@LeeJim
Copy link
Owner

LeeJim commented Mar 29, 2022

应该要创建对应的 collection 先

@nexmoe
Copy link
Author

nexmoe commented Mar 30, 2022

创建了,但仍然有问题

@nexmoe
Copy link
Author

nexmoe commented Mar 30, 2022

函数日志返回结果如下

{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"ReferenceError: res is not defined\n    at Runtime.exports.main [as handler] (/var/user/index.js:65:3)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)","statusCode":430}

@LeeJim
Copy link
Owner

LeeJim commented May 6, 2022

确实有问题,我修复下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants