Handle local sensor read error

It allows to run the server without local sensor.
(Error is printed to the console)