Triage Errors
Find the error hurting the most customers right now, trace it to source, and fix the cause.
Steps
- Fetch the top unresolved error from the last 24 hours. Call
mcp__posthog__list_errorswithstatus: "active",orderBy: "occurrences",dateFrom: "-24h", and take the first result. - Call
mcp__posthog__error_detailswith that issue id to get the stack trace. - Find the first frame under
src/. Open that file and thecaptureError()call site that reported it, and read theareatag to see which team owns it. - Reproduce locally with
npm run devif the error has a request path. - Fix the cause, not the capture call. Do not wrap the failing line in a try/catch that swallows the error.
- Reply with the error title, occurrence count, owning area, and the fix or the reason it needs a person.
Gotchas
ChunkLoadErrorafter a deploy is customers on a stale tab, not a bug. Report it and move to the next error.- Errors tagged
area: billingare never fixed without a person from billing reading the diff, because a wrong retry double-charges.