getsentry / getsentry/sentry-javascript

Capture replays on backend errors (MPAs, SSR)

Đang mở
#9,468 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Browser Improvement Replays
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

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. ``).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.