Browse Source

Updates logging format to include more information.

pull/1142/head
Brandon Foss 5 years ago
parent
commit
497d98c75c
  1. 2
      src/Microsoft.Tye.Hosting/Watch/DotNetWatcher.cs

2
src/Microsoft.Tye.Hosting/Watch/DotNetWatcher.cs

@ -73,7 +73,7 @@ namespace Microsoft.DotNet.Watcher
{
// Only show this error message if the process exited non-zero due to a normal process exit.
// Don't show this if dotnet-watch killed the inner process due to file change or CTRL+C by the user
_logger.LogError($"watch: Exited with exit code {processTask.Result.ExitCode}");
_logger.LogError("watch: {Replica} process exited with exit code {ExitCode}", replica, processTask.Result.ExitCode);
}
else
{

Loading…
Cancel
Save