Add missing sentry error backtrace

Clear traces spam
This commit is contained in:
2026-06-16 18:49:35 +00:00
parent 00d46ce968
commit 975581093a
5 changed files with 18 additions and 9 deletions
+5 -2
View File
@@ -3,6 +3,9 @@ name = "herald"
version = "1.0.1"
edition = "2024"
[profile.release]
debug = 1
[dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
tokio = { version = "1.52", features = ["full"] }
@@ -12,7 +15,7 @@ futures-util = "0.3"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
sentry = { version = "0.48", features = ["tower-axum-matched-path"] }
sentry-anyhow = "0.48"
sentry-anyhow = { version = "0.48", features = ["backtrace"] }
openrouter-rs = "0.10"
dotenvy = "0.15"
tower = "0.5"
@@ -20,7 +23,7 @@ tower-http = {version = "0.6", features = ["trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features=["env-filter"] }
axum = "0.8"
anyhow = "1.0"
anyhow = { version = "1.0", features = ["backtrace"] }
thiserror = "2.0"
hmac = "0.13"
sha2 = "0.11"