mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
fix tracing in desktop
This commit is contained in:
parent
e48761e11c
commit
e5b15f7c31
2 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue