Skip to content

Integrate Sentry error tracking with source‑map upload and PII protec…#406

Merged
Samuel1-ona merged 1 commit into
Samuel1-ona:mainfrom
DevALVIN-24:sentry-integration
Jun 1, 2026
Merged

Integrate Sentry error tracking with source‑map upload and PII protec…#406
Samuel1-ona merged 1 commit into
Samuel1-ona:mainfrom
DevALVIN-24:sentry-integration

Conversation

@DevALVIN-24
Copy link
Copy Markdown
Contributor

This pr closes #378
Description: This PR adds comprehensive Sentry integration to the Hunty project:

  1. Error Monitoring

Initialized Sentry on both client and server with DSN support.
Wrapped the root layout in Sentry.ErrorBoundary for UI‑level crash reporting.
Added Sentry.captureException in all Soroban contract calls to report backend errors.
2. Privacy Safeguards
Stripped wallet addresses from Sentry tags and extra data to avoid PII leakage.
3. Source‑Map Upload
Configured Next.js to upload source maps via withSentryConfig for meaningful stack traces in production.
4. Environment
Updated .env.example with SENTRY_DSN placeholder.
All changes are limited to the error‑tracking scope without affecting existing functionality.

@Samuel1-ona Samuel1-ona merged commit f712724 into Samuel1-ona:main Jun 1, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[INFRA] Integrate Sentry for production error monitoring

2 participants