getsentry / getsentry/sentry-javascript
Capture replays on backend errors (MPAs, SSR)
未关闭
Browser
Improvement
Replays
- 主要语言
- TypeScript
- 星标
- 8.7k
- 派生
- 1.8k
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 515
描述
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. ``).
贡献指南
评估
这个 Issue 还没有评估数据。