diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-14 18:37:34 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-14 18:37:34 +0200 |
commit | ca9db96131d056dbff0fb7f1e1acec8d57486f87 (patch) | |
tree | c07ac685a84a58f12de33b69fcf9b5e091eee37d /src-tauri/src/main.rs | |
parent | 6f20245b8a746b64d44064556a0305acc1ccbf88 (diff) | |
download | FlightCore-ca9db96131d056dbff0fb7f1e1acec8d57486f87.tar.gz FlightCore-ca9db96131d056dbff0fb7f1e1acec8d57486f87.zip |
Show error message in panic
Diffstat (limited to 'src-tauri/src/main.rs')
-rw-r--r-- | src-tauri/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index fd171468..85b0fa3d 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -129,7 +129,7 @@ async fn check_is_northstar_outdated(game_path: String) -> Result<bool, String> let nmod = index .iter() .find(|f| f.name.to_lowercase() == "northstar") - .unwrap(); + .expect("Couldn't find Northstar on thunderstore???"); // .ok_or_else(|| anyhow!("Couldn't find Northstar on thunderstore???"))?; dbg!(nmod); |