chore: don't log acceptable errors

This commit is contained in:
andig 2025-03-07 14:08:54 +01:00
parent 054635444e
commit 4e2b946e34

View file

@ -1675,7 +1675,7 @@ func (lp *Loadpoint) publishSocAndRange() {
if rng, err := vs.Range(); err == nil {
lp.log.DEBUG.Printf("vehicle range: %dkm", rng)
lp.publish(keys.VehicleRange, rng)
} else {
} else if !loadpoint.AcceptableError(err) {
lp.log.ERROR.Printf("vehicle range: %v", err)
}
}