feat(http): add request and response tracing behind feature flag (#2079)

This commit is contained in:
Amr Bashir
2024-11-21 17:08:34 +02:00
committed by GitHub
parent fecfd5533a
commit a3b553ddb4
13 changed files with 32 additions and 17 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ tauri-plugin = { workspace = true, features = ["build"] }
serde = { workspace = true }
serde_json = { workspace = true }
tauri = { workspace = true }
log = { workspace = true }
tracing = { workspace = true }
thiserror = { workspace = true }
dunce = { workspace = true }
tokio = { version = "1", features = ["sync", "time", "macros"] }
+1 -1
View File
@@ -432,7 +432,7 @@ impl Builder {
for (path, rid) in stores.iter() {
if let Ok(store) = app_handle.resources_table().get::<Store<R>>(*rid) {
if let Err(err) = store.save() {
log::error!("failed to save store {path:?} with error {err:?}");
tracing::error!("failed to save store {path:?} with error {err:?}");
}
}
}