Skip to content

Commit

Permalink
fix(jsii-dotnet-runtime): Redirect to STDERR.
Browse files Browse the repository at this point in the history
When JSII_DEBUG is set, STDERR output from the node process should be redirected to the .NET STDERR.
  • Loading branch information
costleya authored Jan 4, 2019
1 parent 1d7cc8b commit e20f401
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ private void RedirectStandardError()
{
while (true)
{
Console.WriteLine(_nodeProcess.StandardError.ReadLine());
Console.Error.WriteLine(_nodeProcess.StandardError.ReadLine());
}
}
}
}
}

0 comments on commit e20f401

Please sign in to comment.