This commit is contained in:
sgetaz 2015-08-18 19:17:54 +02:00
commit f6b9f4528e

View file

@ -10,13 +10,15 @@ namespace Cosmos.Build.Installer {
public void Run() { public void Run() {
var exceptions = DoRun(); var exceptions = DoRun();
Log.NewSection("Error"); if (exceptions.Count > 0) {
//Collect all the exceptions from the build stage, and list them Log.NewSection("Error");
foreach(var msg in exceptions) //Collect all the exceptions from the build stage, and list them
{ foreach(var msg in exceptions) {
Log.WriteLine(msg); Log.WriteLine(msg);
}
Log.SetError();
} }
Log.SetError();
} }
public bool AmRunning32Bit() { public bool AmRunning32Bit() {
@ -167,4 +169,4 @@ namespace Cosmos.Build.Installer {
mLog.WriteLine(aText); mLog.WriteLine(aText);
} }
} }
} }