-
Notifications
You must be signed in to change notification settings - Fork 208
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
feat: handle JSON.parse
error
#220
Conversation
If you are going to catch that error, you MUST handle it rather than leave it blank in the |
changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你是不是应该处理它,而不是单纯 warn 一下?这里的 res.data.info 是不可解析的吗?
更改了 |
|
Then what does |
throws an error |
fix #222