mirror of https://github.com/m-labs/artiq.git
browser: log runs
This commit is contained in:
parent
cc9edc1555
commit
0173a40be0
|
@ -309,6 +309,7 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
|
||||||
self._run_task.add_done_callback(done)
|
self._run_task.add_done_callback(done)
|
||||||
|
|
||||||
async def _get_run_task(self, expid):
|
async def _get_run_task(self, expid):
|
||||||
|
logger.info("Running '%s'...", self.expurl)
|
||||||
worker = Worker(self._area.worker_handlers)
|
worker = Worker(self._area.worker_handlers)
|
||||||
try:
|
try:
|
||||||
await worker.build(rid=None, pipeline_name="browser",
|
await worker.build(rid=None, pipeline_name="browser",
|
||||||
|
@ -318,6 +319,8 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
|
||||||
except:
|
except:
|
||||||
logger.error("Failed to run '%s'", self.expurl)
|
logger.error("Failed to run '%s'", self.expurl)
|
||||||
log_worker_exception()
|
log_worker_exception()
|
||||||
|
else:
|
||||||
|
logger.info("Finished running '%s'", self.expurl)
|
||||||
finally:
|
finally:
|
||||||
await worker.close()
|
await worker.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue