Complete Remix 3 server error handling
維護者通常 1 天內回覆
@chargome 已經在處理了。
開始於 2026年9月23日。
評估
這個 Issue 還沒有評估資料。
描述
Cover the error paths the router middleware alone does not see, and stop reporting things that are not faults.
- Patch
createRequestListenerin@remix-run/node-fetch-serverand install anonErrorthat chains to the app's own. This is the only thing covering an app whose fetch handler does not use fetch-router. - Skip aborted requests.
raceRequestAbortrejects with the request's abort reason when a client disconnects, so without this every user navigating away mid request creates an issue. - Add a
shouldHandleErroroption on the integration, following the@sentry/honoconvention: skip 3xx and 4xx errors carrying a numericstatus, capture the rest.
No de-duplication needed when a failure is seen by both the middleware and onError. captureException already marks the value __sentry_captured__ and drops the second report.
A handler returning a 500 response is not an error. Nothing is thrown, so no issue is created and the status lands on the span.
Done when e2e covers the abort case and the non-router handler case. The abort test must fail if the guard is removed.
- 主要語言
- TypeScript
- 星號
- 8.7k
- 分支
- 1.9k
- 平均合併
- 2 天 10 分鐘
- 30 天內合併 PR
- 560
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getsentry/sentry-javascript 的其他 Issue
-
javascript
難度 2/5 1-3 小時 新手友好度 75/100
getsentry/sentry-javascript#24200 · 2 則留言 ·
維護者通常 1 天內回覆
-
javascript Task
難度 2/5 1-3 小時 新手友好度 82/100
getsentry/sentry-javascript#24134 · 1 則留言 ·
維護者通常 1 天內回覆
-
Cloudflare Workers javascript Tests
難度 2/5 1-3 小時 新手友好度 78/100
getsentry/sentry-javascript#24051 · 1 則留言 ·
維護者通常 1 天內回覆
-
Bug Bun javascript
難度 2/5 1-3 小時 新手友好度 92/100
getsentry/sentry-javascript#24045 · 1 則留言 ·
維護者通常 1 天內回覆
-
javascript
難度 2/5 1-3 小時 新手友好度 75/100
getsentry/sentry-javascript#24043 · 1 則留言 ·
維護者通常 1 天內回覆
查看 getsentry/sentry-javascript 的全部 Issue
相似的 Issue
-
bug via-triage
難度 2/5 1-3 小時 新手友好度 78/100
pingdotgg/t3code#14452 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
solana-foundation/program-examples#747 · 1 則留言 ·
維護者通常 9 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
remotion-dev/remotion#11847 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
openwatersio/slackwater#355 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 74/100
melgarafael/DeskcommCRM#1998 · 3 則留言 ·
維護者通常 1 天內回覆