mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-12 11:11:45 +00:00
Display error when Call fails
This commit is contained in:
parent
11d7dc9962
commit
4e61b7344a
1 changed files with 3 additions and 0 deletions
|
|
@ -42,6 +42,9 @@ namespace Cosmos.Build.Windows {
|
|||
xStartInfo.Arguments + " from directory " + xStartInfo.WorkingDirectory);
|
||||
Console.Write(xProcess.StandardOutput.ReadToEnd());
|
||||
Console.Write(xProcess.StandardError.ReadToEnd());
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Press any key to continue");
|
||||
Console.ReadLine();
|
||||
} else {
|
||||
throw new Exception("Call failed");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue