try block for sensor read

Signed-off-by: Alexander Skjolden <alex@plastboks.net>