diff --git a/lib/oven.py b/lib/oven.py index 06c6c9d..8aca88d 100644 --- a/lib/oven.py +++ b/lib/oven.py @@ -234,7 +234,10 @@ class TempSensorReal(TempSensor): def run(self): while True: - self.temperature = self.thermocouple.get() + try: + self.temperature = self.thermocouple.get() + except Exception as ex: + log.error(ex, "problem reading temp") time.sleep(self.time_step)