- 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.
19 lines
366 B
TOML
19 lines
366 B
TOML
[package]
|
|
name = "image"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
actix-multipart.workspace = true
|
|
actix-web.workspace = true
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
futures.workspace = true
|
|
log.workspace = true
|
|
sentry.workspace = true
|
|
serde.workspace = true
|
|
sqlx.workspace = true
|
|
utoipa.workspace = true
|
|
|
|
auth.workspace = true
|