getsentry / getsentry/sentry-javascript

Document reportError as an option for reporting in browsers

Ouverte
#13,547 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Browser Tests
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.