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

Throw Exception的时候 Intel server status 设置为200是不是好一些 #174

Closed
sphenginx opened this issue Dec 11, 2015 · 1 comment

Comments

@sphenginx
Copy link

最近在做微信登陆的接口, lumen集成了这个 package,很好用~

但是当传入错误的 auth code的时候, 扔异常的时候,服务器状态也是500了~

感觉这么是不是体验不大好,是不是设置为200好一些~

个人浅见。

@overtrue
Copy link
Collaborator

明明都是错了难道还要错误你没错?这种情况你应该去try catch

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