Fix 7z Crash by not using x.ExitCode anymore

This commit is contained in:
Chax
2024-02-07 20:19:52 +01:00
parent 18123b2755
commit 7e19403aa9

View File

@@ -109,7 +109,7 @@ namespace AndroidSideloader.Utilities
}));
}
_ = Logger.Log(error, LogLevel.ERROR);
extractionError = $"Extracting failed, status code {x.ExitCode}";
extractionError = $"Extracting failed: {error}"; // Store the error message directly
return;
}
};