getsentry / getsentry/sentry-javascript
Document reportError as an option for reporting in browsers
Open
Browser
Tests
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.