dashboard: improve moninj logging

This commit is contained in:
Sebastien Bourdeauducq 2022-08-12 13:41:05 +08:00
parent bfab7a7422
commit 5016004d26
1 changed files with 2 additions and 2 deletions

View File

@ -695,11 +695,11 @@ class _DeviceManager:
logger.info("cancelled connection to moninj")
break
except:
logger.error("failed to connect to moninj", exc_info=True)
logger.error("failed to connect to moninj. Is aqctl_moninj_proxy running?", exc_info=True)
await asyncio.sleep(10.)
self.reconnect_mi.set()
else:
logger.info("ARTIQ dashboard connected to moninj proxy (%s)",
logger.info("ARTIQ dashboard connected to moninj (%s)",
self.mi_addr)
self.mi_connection = new_mi_connection
for ttl_channel in self.ttl_widgets.keys():