mirror of https://github.com/m-labs/artiq.git
gui: better log levels
This commit is contained in:
parent
55fdfc618b
commit
03eeec55b2
|
@ -303,7 +303,7 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
|
||||||
expid=expid, priority=0)
|
expid=expid, priority=0)
|
||||||
await worker.analyze()
|
await worker.analyze()
|
||||||
except:
|
except:
|
||||||
logger.info("Failed to run '%s'", self.expurl)
|
logger.error("Failed to run '%s'", self.expurl)
|
||||||
log_worker_exception()
|
log_worker_exception()
|
||||||
finally:
|
finally:
|
||||||
await worker.close()
|
await worker.close()
|
||||||
|
|
|
@ -120,7 +120,7 @@ class _AppletDock(QDockWidgetCloseDetect):
|
||||||
python=sys.executable.replace("\\", "\\\\"),
|
python=sys.executable.replace("\\", "\\\\"),
|
||||||
ipc_address=self.ipc.get_address().replace("\\", "\\\\")
|
ipc_address=self.ipc.get_address().replace("\\", "\\\\")
|
||||||
)
|
)
|
||||||
logger.info("starting command %s for %s", command, self.applet_name)
|
logger.debug("starting command %s for %s", command, self.applet_name)
|
||||||
try:
|
try:
|
||||||
await self.ipc.create_subprocess(*shlex.split(command),
|
await self.ipc.create_subprocess(*shlex.split(command),
|
||||||
start_new_session=True)
|
start_new_session=True)
|
||||||
|
|
Loading…
Reference in New Issue