Skip to content

Commit

Permalink
Better error message to differentiate from similar one
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Jul 19, 2023
1 parent e3c2e30 commit c5ffe57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/agent/cmd/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func watchCmd(log *logp.Logger, cfg *configuration.Configuration) error {
removeMarker := !isWindows()
err = upgrade.Cleanup(log, marker.Hash, removeMarker, false)
if err != nil {
log.Error("cleanup failed", err)
log.Error("cleanup after successful watch failed", err)
}
return err
}
Expand Down

0 comments on commit c5ffe57

Please sign in to comment.