Skip to content

Commit

Permalink
Log stdOut from dotnet build along with stdErr in case of build failu…
Browse files Browse the repository at this point in the history
…res. Fixes #260
  • Loading branch information
prafullbhosale committed Jun 23, 2016
1 parent 260bc0b commit 6cd2068
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ private static int BuildAndDispatchDependencyCommand(
//Build failed.
// Stop the process here.
_logger.LogMessage("Build Failed");
_logger.LogMessage(string.Join(Environment.NewLine, buildResult.StdOut), LogMessageLevel.Error);
_logger.LogMessage(string.Join(Environment.NewLine, buildResult.StdErr), LogMessageLevel.Error);
return buildResult.Result.ExitCode;
}
Expand Down

0 comments on commit 6cd2068

Please sign in to comment.