fixed duplicate logs

This commit is contained in:
objz committed 2026-06-16 12:26:18 +02:00
1 parent 09f403aa07
commit 0d9cd9c6b8
6 files changed
+79 -56

No files matched your search

-2
View File
@@ -70,7 +70,6 @@ impl ModLoaderInstaller for ForgeInstaller {
.await
{
let _ = tokio::fs::remove_file(&installer_jar).await;
tracing::error!("Legacy Forge installation failed: {}", e);
return Err(e);
}
} else {
@@ -85,7 +84,6 @@ impl ModLoaderInstaller for ForgeInstaller {
forge_api::run_forge_installer(&installer_jar, instance_dir, &java_path).await
{
let _ = tokio::fs::remove_file(&installer_jar).await;
tracing::error!("Modern Forge installer failed: {}", e);
return Err(e);
}
-1
View File
@@ -62,7 +62,6 @@ impl ModLoaderInstaller for NeoForgeInstaller {
neoforge_api::run_neoforge_installer(&installer_jar, instance_dir, &java_path).await
{
let _ = tokio::fs::remove_file(&installer_jar).await;
tracing::error!("NeoForge installer failed: {}", e);
return Err(e);
}