getsentry / getsentry/sentry-javascript

Document reportError as an option for reporting in browsers

Aperta
#13,547 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Browser Tests
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.