Home

xmn / bettertrumpet

publicxammen/BetterTrumpet· sync paused
Overview Code History Branches Pull requestsIssuesInsights
master
HomeOverview Code PRsIssues

feat(v3): integrate Sentry crash reporting with GDPR opt-in

6 months ago

166dd97
Authored
xammen3/16/2026, 3:33:27 PM
- ErrorReporter: initializes Sentry only if DSN configured + user opted in
- CrashHandler: forwards fatal exceptions to Sentry before process dies
- Sentry flush on app exit for clean shutdown
- Non-fatal exceptions (LogWarning) also captured as Sentry events
- Context tags: portable_mode, os_version, dotnet_version
- DSN placeholder — set your project DSN to enable
- Zero telemetry without explicit user consent (GDPR)

Parent6fadf94

4 files changed
  • EarTrumpet/App.xaml.cs+5−1
  • EarTrumpet/Diagnosis/CrashHandler.cs+8−0
  • EarTrumpet/Diagnosis/ErrorReporter.cs+111−2
  • EarTrumpet/EarTrumpet.csproj+1−1