aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-14 18:37:34 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-14 18:37:34 +0200
commitca9db96131d056dbff0fb7f1e1acec8d57486f87 (patch)
treec07ac685a84a58f12de33b69fcf9b5e091eee37d
parent6f20245b8a746b64d44064556a0305acc1ccbf88 (diff)
downloadFlightCore-ca9db96131d056dbff0fb7f1e1acec8d57486f87.tar.gz
FlightCore-ca9db96131d056dbff0fb7f1e1acec8d57486f87.zip
Show error message in panic
-rw-r--r--src-tauri/src/main.rs2
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);