diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 5d2292f..bea06d3 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -43,11 +43,7 @@ class Thermostat(QObject, metaclass=PropertyMeta): if self.task.exception() is not None: try: raise self.task.exception() - except ( - Exception, - TimeoutError, - asyncio.exceptions.TimeoutError, - ): + except asyncio.TimeoutError: logging.error( "Encountered an error while updating parameter tree.", exc_info=True,