aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/northstar
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-02 23:15:16 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-02 23:15:16 +0200
commitaa5e6aecf3ccf1ca5be4750d76d41e1e747791fa (patch)
tree6c90d226f67aef01637035f02e22ff307c9ab2f6 /src-tauri/src/northstar
parent2efce22cc55d573be7b2fb96865a1cfe22b612eb (diff)
downloadFlightCore-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.rs3
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(