diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 7e99d3a..821d558 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -37,7 +37,7 @@ class Thermostat(QObject, metaclass=PropertyMeta): if self.task.done(): try: self.task.result() - except asyncio.TimeoutError: + except OSError: logging.error( "Encountered an error while polling for information from Thermostat.", exc_info=True,