Make sure that tracing catches all panics and shows errors better

This commit is contained in:
Lennart
2025-06-09 17:50:01 +02:00
parent 9dd5995950
commit 38de0ab268
3 changed files with 14 additions and 4 deletions

View File

@@ -93,7 +93,11 @@ sqlx-sqlite = { version = "0.8", features = ["bundled"] }
ical = { version = "0.11", features = ["generator", "serde"] }
toml = "0.8"
tower = "0.5"
tower-http = { version = "0.6", features = ["trace", "normalize-path"] }
tower-http = { version = "0.6", features = [
"trace",
"normalize-path",
"catch-panic",
] }
rustical_dav = { path = "./crates/dav/" }
rustical_dav_push = { path = "./crates/dav_push/" }
rustical_store = { path = "./crates/store/" }