What problem does it solve?
This skill standardizes and centralizes error reporting across services with Sentry v8, ensuring every error is captured and surfaced for alerting and debugging.
Core Features & Use Cases
- Sentry initialization across services to enable performance monitoring and error capture.
- Consistent error handling patterns in controllers, routes, cron jobs, and workflow code.
- Cron job and database monitoring with trace spans and contextual data to diagnose failures quickly.
- Use Case: When adding a new service or modifying existing endpoints, apply this skill to ensure all errors are reported and performance is tracked.
Quick Start
Initialize Sentry in your service (e.g., blog-api) using the provided instrument.ts file, import the helper utilities, and wrap risky operations with try/catch to route errors to Sentry. Then verify endpoints by triggering test errors as described in the docs.