-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
小程序 Taro.onError 没有触发,无法捕获JS错误 #11552
Comments
taro-bot2
bot
added
F-react
Framework - React
T-tt
Target - 编译到字节跳动小程序
V-3
Version - 3.x
labels
Mar 31, 2022
Taro v3.5 开始支持 |
3.6.5 版本,支付宝小程序开发者工具,手动
Taro.onError不能捕获错误 |
现在解决了吗? |
所以现在解决了吗 |
我试了一下 3.6都没有捕获成功 对于小程序js报错收集这块我们有诉求但是不知道有什么方式可以收集 |
@wuweikd 测试了一下,支付宝开发者工具是监听不了的,真机可以,应该是开发者工具自身问题导致。 |
收到,谢谢。
|
报错那加了4s延时,不加延时是不是也不行啊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
字节跳动小程序
小程序基础库: 1.9.58.4
使用框架: React
复现步骤
期望结果
onError触发,打印 error message
实际结果
onError没有触发,没有打印 error message
环境信息
The text was updated successfully, but these errors were encountered: