dotnet/tye

Exit code not properly logged in error message

Open

#1,138 建立於 2021年8月4日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C# (5,310 star) (532 fork)batch import
buggood first issue

描述

Describe the bug

If a watched replica exits due to a non-zero exit code, Tye logs an error message but does not properly include the exit code.

To Reproduce

  1. Start a Tye application in "watch" mode.
  2. Kill one of the replica processes.
  3. Note watch: Exited with error code Microsoft.Tye.ProcessResult message.

Further technical details

The bug is here; only the ExitCode property should be logged, not the whole ProcessResult.

貢獻者指南

Exit code not properly logged in error message · dotnet/tye#1138 | Good First Issue