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

Taro3.1版本,vue语法不会自动上报错误 #73

Open
airsky0605 opened this issue Feb 19, 2024 · 0 comments
Open

Taro3.1版本,vue语法不会自动上报错误 #73

airsky0605 opened this issue Feb 19, 2024 · 0 comments

Comments

@airsky0605
Copy link

airsky0605 commented Feb 19, 2024

诸如console.error或者是直接throw new Error(''lalalla)均不行。
均需要手动执行 Sentry.captureException(new Error("测试报错才可以"));
验证结果如下:
手动触发的throw不会走到beforeSend
image

request请求下,需要抛一个promise reject才触发了beforeSend
image

@airsky0605 airsky0605 changed the title Taro3.1版本,vue语法不会上报错误 Taro3.1版本,vue语法不会自动上报错误 Feb 20, 2024
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

1 participant