mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-11-22 08:13:59 +00:00
fix(app-shell): report a UI path that is not absolute
This commit is contained in:
parent
e2f9746fb5
commit
fecf4c5b55
1 changed files with 1 additions and 1 deletions
|
|
@ -674,7 +674,7 @@ pub fn run(
|
|||
ui: &std::path::Path,
|
||||
) -> anyhow::Result<()> {
|
||||
let url = ServoUrl::from_file_path(ui)
|
||||
.map_err(|()| anyhow::anyhow!("{} is not an absolute path", ui.display()))?;
|
||||
.map_err(|_| anyhow::anyhow!("{} is not an absolute path", ui.display()))?;
|
||||
tracing::info!(%app_id, %url, "showing application UI");
|
||||
|
||||
let event_loop = EventLoop::<ServoWake>::with_user_event()
|
||||
|
|
|
|||
Loading…
Reference in a new issue