Skip to content

Commit e20f401

Browse files
authored
fix(jsii-dotnet-runtime): Redirect to STDERR.
When JSII_DEBUG is set, STDERR output from the node process should be redirected to the .NET STDERR.
1 parent 1d7cc8b commit e20f401

File tree

1 file changed

+2
-2
lines changed
  • packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime/Services

1 file changed

+2
-2
lines changed

packages/jsii-dotnet-runtime/src/Amazon.JSII.Runtime/Services/Runtime.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ private void RedirectStandardError()
4848
{
4949
while (true)
5050
{
51-
Console.WriteLine(_nodeProcess.StandardError.ReadLine());
51+
Console.Error.WriteLine(_nodeProcess.StandardError.ReadLine());
5252
}
5353
}
5454
}
55-
}
55+
}

0 commit comments

Comments
 (0)