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

useOverlay函数未捕获meta.deferred拒绝状态,导致每次调用reject时浏览器都会抛出异常 #48

Closed
Curtion opened this issue May 21, 2023 · 1 comment

Comments

@Curtion
Copy link

Curtion commented May 21, 2023

代码位置

调用reject后,等延时结束时浏览器会抛出异常,且该异常似乎在业务端无法进行捕获?

image
image

meta.deferred?.catch(() => {}).finally... 是否可行?

@hairyf
Copy link
Owner

hairyf commented May 22, 2023

使用 finally 未捕获错误,所以应该是 finally().catch,现在它已经被修复

@hairyf hairyf closed this as completed May 22, 2023
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