revid: improve logging

This commit is contained in:
Trek H 2021-02-15 10:52:19 +10:30
parent 26bb498917
commit 86c9e4d0a9
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ func extractMeta(r string, log func(lvl int8, msg string, args ...interface{}))
if err != nil { if err != nil {
log(logger.Warning, "No timestamp in reply") log(logger.Warning, "No timestamp in reply")
} else { } else {
log(logger.Debug, fmt.Sprintf("got timestamp: %v", t)) log(logger.Debug, "got timestamp", "ts", t)
mts.RealTime.Set(time.Unix(int64(t), 0)) mts.RealTime.Set(time.Unix(int64(t), 0))
} }
} }