Skip to content

feat: init sentry#18

Merged
timofeykafanov merged 4 commits intodevelopfrom
sentry-setup
Mar 12, 2026
Merged

feat: init sentry#18
timofeykafanov merged 4 commits intodevelopfrom
sentry-setup

Conversation

@LuckyIntegral
Copy link
Copy Markdown
Owner

This pull request introduces Sentry error tracking to the client application, enabling both build-time and runtime error monitoring. It also adds a development-only button to trigger test errors, and updates dependencies to support Sentry integration.

Sentry Integration:

  • Added Sentry as a dependency (@sentry/react, @sentry/vite-plugin) and updated pnpm-lock.yaml to include all required Sentry packages. [1] [2] [3]
  • Configured Sentry initialization in client/app/root.tsx using the DSN from environment variables, enabling runtime error tracking. [1] [2]
  • Integrated the Sentry Vite plugin in client/vite.config.ts for build-time error reporting and sourcemap upload. [1] [2]
  • Added .env.sentry-build-plugin to .gitignore to prevent committing sensitive Sentry configuration.

Development Tools:

  • Added a new ErrorButton component that throws a test error when clicked, and included it in the Welcome screen for development builds only. [1] [2] [3]

Dependency Updates:

@LuckyIntegral
Copy link
Copy Markdown
Owner Author

Ideally, unsuccessful logins should also be logged, as well as whatever else you find important

@timofeykafanov timofeykafanov merged commit 8a77d62 into develop Mar 12, 2026
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.

2 participants