BLOG-90 Intergrate error tracking with Sentry #120

Merged
squid merged 4 commits from BLOG-90_sentry_intergated into main 2025-08-06 20:20:47 +08:00

4 Commits

Author SHA1 Message Date
5f1f5f43ae BLOG-90 refactor: remove 'log' dependency from multiple Cargo.toml files
All checks were successful
Frontend CI / build (push) Successful in 1m15s
Auto Comment On PR / add_improve_comment (pull_request) Successful in 18s
PR Title Check / pr-title-check (pull_request) Successful in 16s
2025-08-06 19:24:31 +08:00
beffee8f8e BLOG-90 feat: add common feature and improve error handling across services
All checks were successful
Frontend CI / build (push) Successful in 1m11s
2025-08-06 18:19:31 +08:00
1900628a8f BLOG-90 feat: integrate Sentry for error tracking and reporting
- Added `anyhow` and `sentry` dependencies to the backend and feature crates.
- Introduced `SentryConfiguration` to manage Sentry settings.
- Updated error handling in various services to use `anyhow::Error` for unexpected errors.
- Captured errors using Sentry in the web handlers for better observability.
- Removed specific database error handling in favor of a more generic unexpected error handling.
- Configured Sentry in the main application entry point and wrapped the Actix app with Sentry middleware.
2025-08-06 17:25:32 +08:00
aaf4069cbf BLOG-90 feat: integrate Sentry for error tracking and performance monitoring
All checks were successful
Frontend CI / build (push) Successful in 1m16s
- Added Sentry initialization in both client and server hooks.
- Configured Sentry with environment variables for DSN and sampling rates.
- Implemented error handling with Sentry in server hooks.
- Updated environment configuration to include SENTRY_DSN.
- Configured Vite to upload source maps to Sentry.
2025-08-06 06:44:14 +08:00