From 8c2ad49b8e139739eadb9e5a2915e2704bf11d98 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Sun, 23 Jun 2024 08:43:16 +0200 Subject: [PATCH] Removed tracing_error. Signed-off-by: Pavel Kirilin --- Cargo.lock | 11 ----------- Cargo.toml | 3 +-- src/main.rs | 1 - 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ba59293..89bbe1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2702,7 +2702,6 @@ dependencies = [ "tower", "tower-http", "tracing", - "tracing-error", "tracing-subscriber", "uuid", "wildmatch", @@ -3482,16 +3481,6 @@ dependencies = [ "valuable", ] -[[package]] -name = "tracing-error" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" -dependencies = [ - "tracing", - "tracing-subscriber", -] - [[package]] name = "tracing-log" version = "0.2.0" diff --git a/Cargo.toml b/Cargo.toml index 7b4c21b..bdefab1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,6 @@ tracing-subscriber = { version = "0.3.18", features = [ "parking_lot", "time", ] } -tracing-error = { version = "0.2.0", features = ["traced-error"] } [target.'cfg(not(target_env = "msvc"))'.dependencies] tikv-jemallocator = { version = "0.5.4", features = [ @@ -73,4 +72,4 @@ opt-level = 3 debug = false codegen-units = 1 lto = true -panic = "abort" +panic = "unwind" diff --git a/src/main.rs b/src/main.rs index e90558d..00ee998 100644 --- a/src/main.rs +++ b/src/main.rs @@ -104,7 +104,6 @@ fn main() -> RustusResult<()> { .with_line_number(false) .with_target(false), ) - .with(tracing_error::ErrorLayer::default()) .with(sentry_layer) .init();