blog/backend/server/Cargo.toml
SquidSpirit 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

22 lines
456 B
TOML

[package]
name = "server"
version.workspace = true
edition.workspace = true
[dependencies]
actix-session.workspace = true
actix-web.workspace = true
dotenv.workspace = true
env_logger.workspace = true
hex.workspace = true
openidconnect.workspace = true
percent-encoding.workspace = true
sentry.workspace = true
sqlx.workspace = true
utoipa.workspace = true
utoipa-redoc.workspace = true
auth.workspace = true
image.workspace = true
post.workspace = true