mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:01:08 +02:00
First server-side error-tracking integration. Pattern mirrors the client-side one in apps/mana/apps/web/src/hooks.client.ts: - pull @mana/shared-error-tracking into mana-auth's deps (workspace pkg with @sentry/node + a no-op fallback when GLITCHTIP_DSN is unset) - call initErrorTracking() at the top of services/mana-auth/src/index.ts before the rest of the module body executes — this lets Sentry hook uncaughtException / unhandledRejection before any Hono handlers register - wrap app.onError so non-HTTPException throws also flow into captureException with path/method/query context. HTTPExceptions are intentional 4xx/422 and stay out of the issue list (otherwise every 401 from a stale session would page somebody at 3am) - compose: pass GLITCHTIP_DSN_MANA_PLATFORM through as GLITCHTIP_DSN per service so each container's events get tagged with serverName='mana-auth' DSN itself isn't in the repo; lives in .env.macmini on the Mac Mini and is referenced from the Glitchtip credentials doc. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| mana-ai | ||
| mana-analytics | ||
| mana-api-gateway | ||
| mana-auth | ||
| mana-crawler | ||
| mana-credits | ||
| mana-events | ||
| mana-geocoding | ||
| mana-image-gen | ||
| mana-landing-builder | ||
| mana-llm | ||
| mana-mail | ||
| mana-mcp | ||
| mana-media | ||
| mana-notify | ||
| mana-persona-runner | ||
| mana-research | ||
| mana-search | ||
| mana-stt | ||
| mana-subscriptions | ||
| mana-sync | ||
| mana-tts | ||
| mana-user | ||
| mana-video-gen | ||
| mana-voice-bot | ||
| news-ingester | ||