diff options
Diffstat (limited to 'src-tauri/src/main.rs')
-rw-r--r-- | src-tauri/src/main.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 5675a0df..b27233b7 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -308,7 +308,7 @@ async fn install_northstar_caller( northstar_package_name: Option<String>, version_number: Option<String>, ) -> Result<bool, String> { - log::info!("Running"); + log::info!("Running Northstar install"); // Get Northstar package name (`Northstar` vs `NorthstarReleaseCandidate`) let northstar_package_name = northstar_package_name @@ -356,7 +356,13 @@ async fn install_mod_caller( game_install: GameInstall, thunderstore_mod_string: String, ) -> Result<(), String> { - fc_download_mod_and_install(&game_install, &thunderstore_mod_string).await?; + match fc_download_mod_and_install(&game_install, &thunderstore_mod_string).await { + Ok(()) => (), + Err(err) => { + log::warn!("{err}"); + return Err(err); + } + }; match clean_up_download_folder(&game_install, false) { Ok(()) => Ok(()), Err(err) => { |