diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 8ce98d0..433a2e5 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._update_params_task.done(): try: self._update_params_task.result() - except asyncio.TimeoutError: + except OSError: logging.error( "Encountered an error while polling for information from Thermostat.", exc_info=True,