forked from M-Labs/artiq
1
0
Fork 0

dashboard: improve moninj logging

This commit is contained in:
Sebastien Bourdeauducq 2022-08-12 13:41:05 +08:00
parent 3535d0f1ae
commit 27397625ba
1 changed files with 2 additions and 2 deletions

View File

@ -695,11 +695,11 @@ class _DeviceManager:
logger.info("cancelled connection to moninj") logger.info("cancelled connection to moninj")
break break
except: 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.) await asyncio.sleep(10.)
self.reconnect_mi.set() self.reconnect_mi.set()
else: else:
logger.info("ARTIQ dashboard connected to moninj proxy (%s)", logger.info("ARTIQ dashboard connected to moninj (%s)",
self.mi_addr) self.mi_addr)
self.mi_connection = new_mi_connection self.mi_connection = new_mi_connection
for ttl_channel in self.ttl_widgets.keys(): for ttl_channel in self.ttl_widgets.keys():