diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-17 16:47:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 16:47:00 +0200 |
commit | 76f621a8454389ffbe1a6fe7fada0deeebf2f757 (patch) | |
tree | a3f57d757e87765e0511607cdf2f55819bee7a2f /src-tauri/src/northstar | |
parent | 9746cdeb47b226087ced574cddaac829b995e79b (diff) | |
download | FlightCore-76f621a8454389ffbe1a6fe7fada0deeebf2f757.tar.gz FlightCore-76f621a8454389ffbe1a6fe7fada0deeebf2f757.zip |
feat: Better logging regarding mod installation (#363)
* fix: Make log comment more specific
* feat: Log attempting to create temp dir
* feat: Log mod to install and GameInstall struct
* refactor: Replace `dbg` with proper logging
* refactor: Replace `dbg` with proper logging
* feat: Warning log mod install error
* style: Fix formatting
* feat: Log libthermite error and modstring
when mod install fails
Diffstat (limited to 'src-tauri/src/northstar')
-rw-r--r-- | src-tauri/src/northstar/install.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src-tauri/src/northstar/install.rs b/src-tauri/src/northstar/install.rs index 235c35ff..344c0ccf 100644 --- a/src-tauri/src/northstar/install.rs +++ b/src-tauri/src/northstar/install.rs @@ -38,6 +38,10 @@ async fn do_install( let filename = format!("northstar-{}.zip", nmod.version); let download_directory = format!("{}/___flightcore-temp-download-dir/", game_path.display()); + log::info!( + "Attempting to create temporary directory {}", + download_directory + ); std::fs::create_dir_all(download_directory.clone())?; let download_path = format!("{}/{}", download_directory, filename); |