diff --git a/collector/conntrack_linux.go b/collector/conntrack_linux.go index 38102697..32f46c0e 100644 --- a/collector/conntrack_linux.go +++ b/collector/conntrack_linux.go @@ -129,7 +129,7 @@ func (c *conntrackCollector) Update(ch chan<- prometheus.Metric) error { conntrackStats, err := getConntrackStatistics() if err != nil { - return err + return c.handleErr(err) } ch <- prometheus.MustNewConstMetric(