mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
allow dashboard to close if no connection can be made to moninj
Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
This commit is contained in:
parent
94271504dd
commit
3b2c225fc4
@ -399,6 +399,9 @@ class _DeviceManager:
|
||||
self.disconnect_cb)
|
||||
try:
|
||||
await new_core_connection.connect(self.core_addr, 1383)
|
||||
except asyncio.CancelledError:
|
||||
logger.info("cancelled connection to core device moninj")
|
||||
break
|
||||
except:
|
||||
logger.error("failed to connect to core device moninj", exc_info=True)
|
||||
await asyncio.sleep(10.)
|
||||
|
Loading…
Reference in New Issue
Block a user