mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-27 20:34:03 +00:00
Don't panic on failure to remove legacy dir (#495)
This commit is contained in:
parent
22ded3b379
commit
f268137bc4
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ pub fn main() {
|
|||
});
|
||||
}
|
||||
fs::remove_dir_all(LEGACY_TRAINING_MODPACK_ROOT)
|
||||
.expect("Could not delete legacy Training Modpack folder!");
|
||||
.unwrap_or_else(|e| error!("Could not delete legacy Training Modpack folder with error {e}"));
|
||||
}
|
||||
|
||||
info!("Performing version check...");
|
||||
|
|
Loading…
Reference in a new issue