Lightlines
By posthog

instrument-error-tracking

posthog479 installs

Track app errors in PostHog with readable traces.

What it does

Adds PostHog exception tracking to an application so errors can be monitored with readable stack traces.

When to use it

Use after implementing features or reviewing pull requests, including when initial PostHog SDK setup is needed.

How to use it

Give it an application codebase; it adds PostHog error tracking, including SDK setup when missing and source-map uploads for frontend or mobile apps.

What you provide

  • An existing project

Uses

Latest review

What you need · 1

Requires access to a PostHog project, with its project token and cloud region available through existing configuration, MCP, or the user.


Access · 2

This skill

PostHog

Write

Sends errors and source maps

posthog.com/docs

Read

Searches PostHog documentation