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
Should throw Exception when there have API Error. #683
Comments
It seems that contact.alias(string) doesn't work anymore, |
You should wait for a while. |
Btw, please change ` to ``` for your log info as I modified for your first comment. |
After those issues, I start to think that we should throw an Because it might be an Error in our design pattern: Should throw The related method should include(but not limited):
|
@lijiarui Thanks for your reply and support! |
@amyhuangxbd YES it is unstable, do u have any workaround? |
I can remark friend's alias in web version successfully, but the alias unable to synchronize to the phone. |
@amyhuangxbd You did not If you refresh the browser or re-login, you will find out that the new "alias/remark" is lost. |
I had changed some of the API to throw Exception when failed, and will changes others in the future. Please let me know if you found any API need to refactor in the latest version of the master branch, PR will be awesome and welcome! See: #1167 |
I try to modify contact remark in contact-bot.ts
The main code is:
Expected behavior
Remark should be modified,
And I got the log that tells me the remark is modified, however, in fact, the remark isn't modified.
Below is part of logs:
Actual behavior
The text was updated successfully, but these errors were encountered: