diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2023-07-02 23:15:16 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2023-07-02 23:15:16 +0200 |
commit | aa5e6aecf3ccf1ca5be4750d76d41e1e747791fa (patch) | |
tree | 6c90d226f67aef01637035f02e22ff307c9ab2f6 /src-tauri/src/northstar | |
parent | 2efce22cc55d573be7b2fb96865a1cfe22b612eb (diff) | |
download | FlightCore-aa5e6aecf3ccf1ca5be4750d76d41e1e747791fa.tar.gz FlightCore-aa5e6aecf3ccf1ca5be4750d76d41e1e747791fa.zip |
fix: Return error instead of panicking
Otherwise user will just see infinite loading bar
Diffstat (limited to 'src-tauri/src/northstar')
-rw-r--r-- | src-tauri/src/northstar/install.rs | 3 |
1 files changed, 1 insertions, 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( |