TF-4136 Add sentry for web
Issue
Fixes #4136
Dependency
This PR depends on:
- Need merged: https://github.com/linagora/jmap-dart-client/pull/117
Description
This pull request integrates Sentry error reporting to capture, track, and analyze runtime issues across the Flutter app.
It includes detailed information for each reported event such as stack trace, breadcrumbs, contexts, and custom logs — helping developers debug production errors more efficiently.
Resolved
1. Issues Captured
Sentry successfully records exceptions triggered within the application:
2. Issue Details
Detailed event information is available, including device data, environment, and app version:
3. Stack Trace
Captured stack trace for debugging and pinpointing the root cause:
4. Breadcrumbs
Breadcrumbs show user actions and app events leading up to the error:
5. Contexts: Reported Exception
Captured context includes runtime environment, user, and device information:
6. Logs
Sentry integrates with Sentry.logger and captureMessage to record structured logs:
Summary by CodeRabbit
-
Chores
- Updated dio HTTP client library to version 5.2.0
- Refactored application startup flow
- Added error tracking infrastructure with new environment configuration options
✏️ Tip: You can customize this high-level summary in your review settings.