mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-12-13 23:43:37 +00:00
Don't panic on failure to remove legacy dir (#495)
This commit is contained in:
@@ -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...");
|
||||
|
||||
Reference in New Issue
Block a user