Sentry plumbing, inert until a DSN exists

Server: errors-only @sentry/node behind SENTRY_DSN, capturing the
unhandled-protocol catch with its message type and room. Client:
errors-only @sentry/browser behind VITE_SENTRY_DSN baked at build.
Backup: Sentry Crons check-ins (in_progress/ok/error) when
/root/.wizwar-sentry-cron holds the check-in URL. No DSN, no behavior.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015RCWSTnb1KYTPyL4GmhGnF
This commit is contained in:
Eric Wagoner
2026-09-01 09:58:26 -04:00
co-authored by Claude Fable 5
parent 68f171215d
commit b06da1f1f1
6 changed files with 368 additions and 6 deletions
+1
View File
@@ -10,6 +10,7 @@
"typecheck": "svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
"@sentry/browser": "^10.73.0",
"@wizwar/engine": "*"
},
"devDependencies": {