This commit is contained in:
2022-09-09 15:54:18 +02:00
parent f70421d2f3
commit 189c98951a
7 changed files with 206 additions and 1548 deletions

View File

@@ -35,7 +35,7 @@ class Deltatau:
try:
self._comm=comm=PPComm(**param,timeout=2.0)
self._gather=gather=Gather(comm)
except socket.timeout as e:
except (socket.timeout,socket.gaierror) as e:
_log.critical(f'can not connect to deltatau:"{host}" -> {e}')
self._comm=comm=None
self._gather=gather=None