We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f705566 commit d37eeefCopy full SHA for d37eeef
1 file changed
src/tasks/Common/Utils.cs
@@ -94,9 +94,9 @@ public static string RunProcess(
94
95
if (process.ExitCode != 0)
96
{
97
- Logger?.LogMessage(MessageImportance.Low, $"Exit code: {process.ExitCode}");
+ Logger?.LogMessage(MessageImportance.High, $"Exit code: {process.ExitCode}");
98
if (!ignoreErrors)
99
- throw new Exception("Error: " + errorBuilder);
+ throw new Exception("Error: Process returned non-zero exit code: " + errorBuilder);
100
}
101
102
return outputBuilder.ToString().Trim('\r', '\n');
0 commit comments