chore: don't log acceptable errors
This commit is contained in:
parent
054635444e
commit
4e2b946e34
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue