Files
cinny/.env.production
T
Lotus Bot 41899adafa feat: add Sentry error tracking with defensive error boundary
- Initialize Sentry SDK in index.tsx when VITE_SENTRY_DSN env var is set
- Wrap entire App with Sentry.ErrorBoundary (replaces the hard crash with a retry UI)
- 5% trace sample rate, sendDefaultPii disabled, strip events containing accessToken
- Add .env.production template with VITE_SENTRY_DSN placeholder
- Get your DSN from sentry.io -> Project Settings -> Client Keys

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 19:44:51 -04:00

5 lines
170 B
Bash

# Sentry DSN — get from sentry.io → Project Settings → Client Keys
# VITE_SENTRY_DSN=https://xxx@oXXX.ingest.sentry.io/YYYY
VITE_SENTRY_DSN=
VITE_APP_VERSION=lotus