Shorten temp sensor error output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Søren Rasmussen 2022-07-26 13:10:17 +02:00
parent 308019b039
commit b3c1e2c520

View file

@ -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
}