1
0
Evan Almloff 1 жил өмнө
parent
commit
e5b15f7c31

+ 1 - 1
packages/desktop/src/protocol.rs

@@ -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
packages/desktop/src/webview.rs

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