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

工具报错 includes of undefined #307

Closed
wss-git opened this issue Sep 15, 2021 · 1 comment
Closed

工具报错 includes of undefined #307

wss-git opened this issue Sep 15, 2021 · 1 comment
Assignees

Comments

@wss-git
Copy link
Member

wss-git commented Sep 15, 2021

image
image

复现步骤:
await new Promise((resolve, reject) => reject(''))
原因:
理解应该是这个原因,因为异常了,但是 catch 的异常是字符串 并不是个对象

Uploading image.png…

@xsahxl
Copy link
Contributor

xsahxl commented Sep 30, 2021

s在2.0.85版本后完善了error逻辑,此问题也顺便修复了。

@xsahxl xsahxl closed this as completed Sep 30, 2021
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