getsentry / getsentry/sentry-javascript

Document reportError as an option for reporting in browsers

未关闭
#13,547 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Browser Tests
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

### Problem Statement

I think the global `reportError` function could be an idiomatic way to report errors to Sentry from JavaScript, if it is not too general for your use case. I don't find much talk about this function on the webs, but it has been available across major browsers for some time.

### Solution Brainstorm

The Capturing Errors and Events page of the docs could have a small section that mentions `reportError` as an alternative.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。