Skip to content

Commit 1619ec4

Browse files
authored
Merge branch 'main' into billy/feat/depot-cli-img
2 parents 89a63a8 + 53902f0 commit 1619ec4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/machine/machine.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"connectrpc.com/connect"
1313
"github.com/depot/cli/pkg/api"
1414
"github.com/depot/cli/pkg/cleanup"
15+
"github.com/depot/cli/pkg/debuglog"
1516
"github.com/depot/cli/pkg/helpers"
1617
cliv1 "github.com/depot/cli/pkg/proto/depot/cli/v1"
1718
"github.com/depot/cli/pkg/proto/depot/cli/v1/cliv1connect"
@@ -128,7 +129,7 @@ func (m *Machine) ReportHealth() error {
128129
if errors.Is(err, context.Canceled) {
129130
return nil
130131
}
131-
fmt.Printf("error reporting health: %s", err.Error())
132+
debuglog.Log("ReportHealth() error reporting health: %s", err.Error())
132133
client = api.NewBuildClient()
133134
}
134135

0 commit comments

Comments
 (0)