fix tracing in desktop

This commit is contained in:
Evan Almloff committed 2023-09-26 09:07:11 -05:00
1 parent e48761e11c
commit e5b15f7c31
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ pub(super) fn desktop_handler(
if let Some(assets_head) = assets_head {
head += &assets_head;
} else {
trace::warn!("No assets head found. You can compile assets with the dioxus-cli in release mode");
tracing::warn!("No assets head found. You can compile assets with the dioxus-cli in release mode");
}
}
+1 -1
View File
@@ -52,7 +52,7 @@ pub fn build(
match std::fs::read_to_string(&head) {
Ok(s) => Some(s),
Err(err) => {
trace::error!("Failed to read {head:?}: {err}");
tracing::error!("Failed to read {head:?}: {err}");
None
}
}