Error Handling on reading the temperature and humidity