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

梳理云函数 Server 的响应状态码 #13

Closed
jysperm opened this issue Feb 1, 2021 · 0 comments
Closed

梳理云函数 Server 的响应状态码 #13

jysperm opened this issue Feb 1, 2021 · 0 comments
Assignees

Comments

@jysperm
Copy link
Contributor

jysperm commented Feb 1, 2021

  • appId / appKey / hookKey / masterKey 不正确应该返回 401
  • 云函数或 Hook 不存在返回 404
  • 云函数或 Hook 用户 return err 返回 400(不打印异常信息到日志)
  • 云函数或 Hook panic 返回 500(打印异常调用栈到日志)
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