diff --git a/charger/ocpp.go b/charger/ocpp.go index 6a93ccce7..df27c92e8 100644 --- a/charger/ocpp.go +++ b/charger/ocpp.go @@ -303,7 +303,7 @@ func NewOCPP(id string, connector int, idtag string, // configure sample rate if meterInterval > 0 { if err := c.configure(ocpp.KeyMeterValueSampleInterval, strconv.Itoa(int(meterInterval.Seconds()))); err != nil { - return nil, err + c.log.WARN.Printf("failed configuring MeterValueSampleInterval: %v", err) } }