Skip to content

Conversation

@popstk
Copy link
Contributor

@popstk popstk commented Feb 9, 2023

test incorrect password

@1379 1379 merged commit 4f3c70f into go-sonic:master Feb 9, 2023
@1379
Copy link
Contributor

1379 commented Feb 9, 2023

感谢修复了这个问题。
其实从这里也能看到,sonic目前的错误处理还是不够优雅,后面应该会重构掉这里。
另外受限于halo 管理后台的限制,返回给前端的错误码只能是http code,这里halo的设计其实极不合理,http status code不能用来标识业务的错误枚举,这样有很多限制。

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

Successfully merging this pull request may close these issues.

2 participants