Shorten temp sensor error output
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
308019b039
commit
b3c1e2c520
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ func readSensors(hub *sentry.Hub) {
|
||||||
hasReadFailure = true
|
hasReadFailure = true
|
||||||
sensor.Fail()
|
sensor.Fail()
|
||||||
hub.CaptureException(err)
|
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()
|
metrics.TemperatureSensorReadingStatus.WithLabelValues(sensor.Name, "failed").Inc()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue