AddThisFeature

Error Tracking Setup

Find out about crashes before your users tell you.

simple Developer Experience

What it adds

Wire up error monitoring so exceptions reach you with enough context to fix them.

What your agent is told to do

4
  1. 1

    Add an error monitoring service and capture both server-side exceptions and client-side errors.

  2. 2

    Attach context: the user, the request, the release version. An error without context is unfixable.

  3. 3

    Upload source maps so client stack traces are readable.

  4. 4

    Route alerts somewhere you'll actually see them, and set a threshold so you aren't paged for a single 404.

Edge cases it handles

4
  • SCRUB sensitive data from error payloads — passwords, tokens, card numbers, and PII routinely leak into exception reports.
  • Do not report expected errors (validation failures, 404s) as exceptions; they'll bury the real ones.
  • Rate-limit reporting so one error loop doesn't blow your quota in minutes.
  • Development and test environments must not report to production.

Definition of done

8
  • Server and client errors are both captured.
  • Errors carry user, request, and release context.
  • Source maps are uploaded and traces are readable.
  • Sensitive data is scrubbed from payloads.
  • Expected errors are not reported as exceptions.
  • Reporting is rate-limited and environment-scoped.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.