41899adafa
- 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>
5 lines
170 B
Bash
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
|