Skip to content

Commit

Permalink
Merge pull request #14 from atifaziz/write-error-to-stderr
Browse files Browse the repository at this point in the history
Write error to standard error (`stderr`) stream
  • Loading branch information
xoofx committed Jun 15, 2022
2 parents bc81cfc + c1e275e commit 1aa7929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GrpcCurl/GrpcCurlApp.cs
Expand Up @@ -78,7 +78,7 @@ private static async Task WriteLineError(string text)
{
var backColor = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Red;
await Console.Out.WriteLineAsync(text);
await Console.Error.WriteLineAsync(text);
Console.ForegroundColor = backColor;
}

Expand Down

0 comments on commit 1aa7929

Please sign in to comment.