getsentry / getsentry/sentry-javascript

Capture replays on backend errors (MPAs, SSR)

Offen
#9,468 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Browser Improvement Replays
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

Currently for MPAs error-based replay sampling will not necessarily work when the error is not thrown in JS.

We _can_ do this manually today (users can call `replay.flush()`), but maybe we can add some more/better logic there.

For example, when a page is rendered with a non-200 status code, we could consider this as an error and flush immediately.

And/or we could add another meta tag to the rendered HTML that tells replay that an error happened server side (e.g. ``).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.