Improved error handling (part 1)

This commit is contained in:
mdecimus
2024-07-11 18:44:51 +02:00
parent ea77a98260
commit 0c2a3f09fe
179 changed files with 3409 additions and 3048 deletions

22
Cargo.lock generated
View File

@@ -1068,6 +1068,7 @@ dependencies = [
"tracing-journald",
"tracing-opentelemetry",
"tracing-subscriber",
"trc",
"unicode-security",
"utils",
"whatlang",
@@ -1655,7 +1656,7 @@ dependencies = [
"tokio",
"tokio-rustls 0.26.0",
"totp-rs",
"tracing",
"trc",
"utils",
]
@@ -2959,6 +2960,7 @@ dependencies = [
"tokio",
"tokio-rustls 0.26.0",
"tracing",
"trc",
"utils",
]
@@ -3191,6 +3193,7 @@ dependencies = [
"tokio",
"tokio-tungstenite 0.23.1",
"tracing",
"trc",
"tungstenite 0.23.0",
"utils",
"x509-parser 0.16.0",
@@ -3230,6 +3233,7 @@ dependencies = [
"store",
"tokio",
"tracing",
"trc",
"utils",
]
@@ -3591,6 +3595,7 @@ dependencies = [
"store",
"tokio",
"tracing",
"trc",
"utils",
]
@@ -4468,6 +4473,7 @@ dependencies = [
"tokio",
"tokio-rustls 0.26.0",
"tracing",
"trc",
"utils",
]
@@ -6038,6 +6044,7 @@ dependencies = [
"tokio",
"tokio-rustls 0.26.0",
"tracing",
"trc",
"utils",
"webpki-roots 0.26.3",
"x509-parser 0.16.0",
@@ -6186,7 +6193,7 @@ dependencies = [
"tokio",
"tokio-postgres",
"tokio-rustls 0.26.0",
"tracing",
"trc",
"utils",
"xxhash-rust",
]
@@ -6859,6 +6866,16 @@ dependencies = [
"tracing-log",
]
[[package]]
name = "trc"
version = "0.8.5"
dependencies = [
"base64 0.22.1",
"bincode",
"reqwest 0.12.5",
"serde_json",
]
[[package]]
name = "trim-in-place"
version = "0.1.7"
@@ -7117,6 +7134,7 @@ dependencies = [
"tokio-rustls 0.26.0",
"tracing",
"tracing-journald",
"trc",
"webpki-roots 0.26.3",
"x509-parser 0.16.0",
]