All printed warnings should have some context

This commit is contained in:
Jakob Borg
2014-08-17 10:28:36 +02:00
parent d20df12168
commit 1a66461e07
4 changed files with 8 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ func trackCPUUsage() {
for _ = range time.NewTicker(time.Second).C {
err := solarisPrusage(pid, &rusage)
if err != nil {
l.Warnln(err)
l.Warnln("getting prusage:", err)
continue
}
curTime := time.Now().UnixNano()