Skip to content

Commit

Permalink
Write error to standard error ("stderr") stream
Browse files Browse the repository at this point in the history
  • Loading branch information
atifaziz committed Jun 12, 2022
1 parent bc81cfc commit c1e275e
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 c1e275e

Please sign in to comment.