forked from M-Labs/thermostat
Remove exception too general
This commit is contained in:
parent
c3d7804898
commit
e162bcf210
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user