Add logging in potential database readout errors
See merge request !2066 (merged)
(cherry picked from commit 32bf1b1a)
efe5cf8b DSD-6836 Add logging in potential database readout errors 3d091668 DSD-6836 Few improvements 15424337 DSD-6836 Add suggested initialize for getCachedEnergyMeterValue function