From f34672c826f22bcbc6a406e13574712304f96b5d Mon Sep 17 00:00:00 2001 From: usbharu Date: Sun, 20 Apr 2025 17:39:15 +0900 Subject: [PATCH] fix: log --- collector.go | 1 + 1 file changed, 1 insertion(+) diff --git a/collector.go b/collector.go index c430fd2..2405ab8 100644 --- a/collector.go +++ b/collector.go @@ -74,6 +74,7 @@ func collectStats() { time.Sleep(30 * time.Second) stats, err := client.Meta().Stats() if err != nil { + logrus.WithField("type", "stats").Warning(err) continue } misskeyNotesCount.Set(float64(stats.NotesCount))