feat(healthcheck): debug log output of joj3-check-env
All checks were successful
submodules sync / sync (push) Successful in 33s
build / build (push) Successful in 1m7s
build / trigger-build-image (push) Successful in 6s

This commit is contained in:
张泊明518370910136 2025-01-31 19:48:53 -05:00
parent ddf19a3e6e
commit df8ed72765
GPG Key ID: D47306D7062CDA9D

View File

@ -38,6 +38,8 @@ func runTeapot(conf *conf.Conf) (checkResults []CheckResult, err error) {
cmd.Stdout = &stdoutBuf
cmd.Stderr = &stderrBuf
err = cmd.Run()
slog.Debug("teapot check exec",
"stdout", stdoutBuf.String(), "stderr", stderrBuf.String())
if err != nil {
slog.Error("teapot check exec", "error", err)
return