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))