Skip to content

Sentry silent warnings#98

Merged
zolfagharipour merged 4 commits intodevfrom
sentry-silent-warnings
Mar 12, 2026
Merged

Sentry silent warnings#98
zolfagharipour merged 4 commits intodevfrom
sentry-silent-warnings

Conversation

@LuckyIntegral
Copy link
Copy Markdown
Collaborator

This pull request introduces several improvements to authentication handling and error monitoring in the client application. The most significant changes are the addition of authentication checks to key pages, enabling queries only for authenticated users, and enhancing error reporting by integrating Sentry for exception tracking. Additionally, the Sentry example API route was removed, and the Sentry test page was simplified and renamed.

Authentication enforcement and query control:

Error monitoring improvements:

Sentry example/test simplification:

  • Removed the Sentry example API route and refactored the Sentry test page: renamed the file, removed unnecessary backend error simulation, and simplified the UI and error trigger logic. [1] [2] [3] [4] [5]

Dependency adjustments:

  • Downgraded import-in-the-middle and updated require-in-the-middle dependencies in package.json to resolve compatibility issues.

These changes collectively improve user experience by preventing unauthenticated access to sensitive pages, reduce unnecessary API calls, and enhance error reporting and debugging capabilities.

@LuckyIntegral
Copy link
Copy Markdown
Collaborator Author

LuckyIntegral commented Mar 11, 2026

You can check now sentry test page by localhost:3000/sentry-test
Or try to login with wrong credentials

@zolfagharipour zolfagharipour merged commit 1c97cc7 into dev Mar 12, 2026
2 checks passed
LuckyIntegral pushed a commit that referenced this pull request Apr 2, 2026
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