diff --git a/pkg/temperature/ds18b20.go b/pkg/temperature/ds18b20.go index 968376a..1dc1903 100644 --- a/pkg/temperature/ds18b20.go +++ b/pkg/temperature/ds18b20.go @@ -145,7 +145,7 @@ func readSensors(hub *sentry.Hub) { hasReadFailure = true sensor.Fail() hub.CaptureException(err) - log.Printf("Error reading temperature sensor %v/%v: %v", sensor.Name, sensor.Path, err) + log.Printf("%v/%v", sensor.Name, err) metrics.TemperatureSensorReadingStatus.WithLabelValues(sensor.Name, "failed").Inc() continue }