forked from M-Labs/thermostat
Actually its OSError
This commit is contained in:
parent
881bf6ff6c
commit
93d96401b9
@ -37,7 +37,7 @@ class Thermostat(QObject, metaclass=PropertyMeta):
|
|||||||
if self._update_params_task.done():
|
if self._update_params_task.done():
|
||||||
try:
|
try:
|
||||||
self._update_params_task.result()
|
self._update_params_task.result()
|
||||||
except asyncio.TimeoutError:
|
except OSError:
|
||||||
logging.error(
|
logging.error(
|
||||||
"Encountered an error while polling for information from Thermostat.",
|
"Encountered an error while polling for information from Thermostat.",
|
||||||
exc_info=True,
|
exc_info=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user