dotnet/tye

Exit code not properly logged in error message

开放

#1,138 创建于 2021年8月4日

 (0 条评论) (0 个反应) (0 位负责人)C# (532 个派生)batch import
buggood first issue

仓库指标

星标
 (5,310 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南