Browse Source
Log message at info level if project evaluation fails (#908)
pull/909/head
John Luo
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/Microsoft.Tye.Core/ApplicationFactory.cs
|
|
|
@ -536,9 +536,9 @@ namespace Microsoft.Tye |
|
|
|
// running these targets we don't really care as long as we get the data.
|
|
|
|
if (msbuildEvaluationResult.ExitCode != 0) |
|
|
|
{ |
|
|
|
output.WriteDebugLine($"Evaluating project failed with exit code {msbuildEvaluationResult.ExitCode}:" + |
|
|
|
$"{Environment.NewLine}Ouptut: {msbuildEvaluationResult.StandardOutput}" + |
|
|
|
$"{Environment.NewLine}Error: {msbuildEvaluationResult.StandardError}"); |
|
|
|
output.WriteInfoLine($"Evaluating project failed with exit code {msbuildEvaluationResult.ExitCode}"); |
|
|
|
output.WriteDebugLine($"Ouptut: {msbuildEvaluationResult.StandardOutput}"); |
|
|
|
output.WriteDebugLine($"Error: {msbuildEvaluationResult.StandardError}"); |
|
|
|
} |
|
|
|
|
|
|
|
return msbuildEvaluationResult; |
|
|
|
|