f1191299e8
Sentry SDK is loaded via dynamic import() only when a DSN is configured and error reporting is enabled, keeping it out of the initial bundle. Users can control error reporting via a toggle and DSN field in Advanced Settings, with the DSN synced across devices via encrypted NIP-78 settings. The ErrorBoundary now reports fatal crashes to Sentry with component stack context, and a beforeSend hook censors nsec private keys before any data leaves the browser.
2 lines
106 B
Bash
2 lines
106 B
Bash
VITE_SENTRY_DSN="https://********************************@*****************.example.com/****************"
|