succd: Improve error messages
This commit is contained in:
parent
2056a3592e
commit
cd823a75d6
|
@ -135,7 +135,7 @@ func (d *daemon) modbusUpdate() {
|
||||||
|
|
||||||
err = d.modbusClient.WriteRegisters(0x01, registerValuesKEC1[:])
|
err = d.modbusClient.WriteRegisters(0x01, registerValuesKEC1[:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.Warningf("error while updating registers %v", err)
|
klog.Warningf("error while writing updated relay values to KEC1 %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue