Loading…
Add error monitoring · prompt 1 · Claude Code · week 2026-W44
Prompt: Add error monitoring to this Next.js app so I get alerted on exceptions in production. Install whatever you need and make `npm run build` pass.
Grader: Agent installed @sentry/nextjs 11.9.0, hit a v11 import-path change (withSentryConfig moved to @sentry/nextjs/config), fixed it, wired server, edge, client, global-error and onRequestError instrumentation, and got npm run build and lint passing; DSN is left for the user to set, which is expected.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.