feat: Sentry error tracking, API errors, and user context#596
Merged
ldyrmishiritech merged 6 commits intoRitechSolutions:origin/developmentfrom Apr 8, 2026
Merged
Conversation
- Added Sentry for error tracking in the application, including initialization based on the VITE_SENTRY_DSN environment variable. - Implemented a test button in the Index component to trigger Sentry error logging. - Updated package.json and package-lock.json to include the @sentry/react dependency. - Enhanced main.tsx to support asynchronous bootstrapping for Sentry integration.
…sist into edyrkaj/feat-error-track-system
- Added Sentry DSN configuration to the .env.template for error tracking. - Implemented error capturing in API requests using Sentry. - Integrated user context synchronization with Sentry upon successful authentication. - Introduced a new event for Sentry error handling in the instrument plugin. - Created utility functions for managing Sentry user data based on authentication responses.
- Replaced the import of the `instrument` plugin with `sentryInit.js` for better clarity and organization. - Updated documentation comment to reflect the change in event dispatching from `sentryInit`. - Introduced a new `sentryInit.js` file to handle Sentry configuration and error capturing logic.
Contributor
Author
|
cc: @ldyrmishiritech When we deploy on our environments we should have:
|
…sist into edyrkaj/feat-error-track-system
…sist into edyrkaj/feat-error-track-system
Brendon1997
approved these changes
Apr 7, 2026
b432598
into
RitechSolutions:origin/development
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of Change
Note: This PR follows Ritech's contribution guidelines for GenAssist. For questions, refer to CONTRIBUTING.md or contact the Ritech team.