From aa5e6aecf3ccf1ca5be4750d76d41e1e747791fa Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Sun, 2 Jul 2023 23:15:16 +0200 Subject: fix: Return error instead of panicking Otherwise user will just see infinite loading bar --- src-tauri/src/northstar/install.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src-tauri/src/northstar/install.rs b/src-tauri/src/northstar/install.rs index 04c58630..bfaf9d3d 100644 --- a/src-tauri/src/northstar/install.rs +++ b/src-tauri/src/northstar/install.rs @@ -71,8 +71,7 @@ async fn do_install( } } }, - ) - .unwrap(); + )?; window .emit( -- cgit v1.2.3