fix tracing in desktop

This commit is contained in:
Evan Almloff 2023-09-26 09:07:11 -05:00
parent e48761e11c
commit e5b15f7c31
2 changed files with 2 additions and 2 deletions

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");
}
}

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
}
}