Skip to content

Commit

Permalink
local-check: improve warn logs included in tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed Nov 18, 2023
1 parent 5db1f25 commit 29c3169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/localok/local-check.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (l *LocalOK) update(ctx context.Context) bool {
go func(h namedIP) {
ok, err := l.sanityCheckHost(ctx, cfg, h.Name, h.IP)
if err != nil {
log.WarnContext(ctx, "local-check failure", "server", h.Name, "ip", h.IP.String(), "err", err)
log.WarnContext(ctx, "local-check failure", "server", h.Name, "ip", h.IP.String(), "err", err.Error())
span.RecordError(err)
}

Expand Down

0 comments on commit 29c3169

Please # to comment.