chore: log NaN error details
This commit is contained in:
parent
9a18c95fba
commit
accd9dce54
1 changed files with 3 additions and 0 deletions
|
|
@ -593,6 +593,9 @@ func (site *Site) updatePvMeters() {
|
|||
// store
|
||||
if err := settings.SetJson(keys.SolarAccYield, site.pvEnergy); err != nil {
|
||||
site.log.ERROR.Println("accumulated solar yield:", err)
|
||||
for k, v := range site.pvEnergy {
|
||||
site.log.ERROR.Printf("!! %s: %+v", k, v)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue