What problem does it solve?
This Skill helps you add reliable PostHog error tracking to Node.js apps so exceptions are automatically captured, grouped into actionable issues, and easier to monitor and debug.
Core Features & Use Cases
- Node.js server-side error tracking setup: Install and initialize the correct PostHog SDK for server environments, including exception autocapture.
- Better exception capture boundaries: Manually capture exceptions at defined error handling points (for example, route handlers and global error middleware).
- Improved issue grouping with source maps: Upload source maps so stack traces resolve to original source code, producing more accurate fingerprints and grouping.
- Monitoring and workflow support: Use PostHog’s issue monitoring, search, fingerprints, and alerting concepts to triage production errors faster.
Quick Start
Add PostHog error tracking to your Node.js app by initializing posthog-node with enableExceptionAutocapture enabled, uploading source maps during your build, and capturing exceptions in your application’s error handler or boundaries.