Merge pull request #13119 from rob-v/DownloadPackageErrorLog

Add exception message to Download (Invalid archive) error #12985
This commit is contained in:
Paul Chote
2017-04-17 15:14:36 +01:00
committed by GitHub

View File

@@ -164,9 +164,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
Game.RunAfterTick(() => { Ui.CloseWindow(); onSuccess(); });
}
catch (Exception)
catch (Exception e)
{
Log.Write("install", "Extraction failed");
Log.Write("install", "Archive extraction failed: " + e.ToString());
foreach (var f in extracted)
{
@@ -174,7 +174,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
File.Delete(f);
}
onError("Invalid archive");
onError("Archive extraction failed");
}
finally
{