From 0173a40be0f65284ef509cab0578eaf5fc60126a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 3 Jul 2016 12:20:23 +0800 Subject: [PATCH] browser: log runs --- artiq/browser/experiments.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/artiq/browser/experiments.py b/artiq/browser/experiments.py index 94fbc7e9d..2f812f297 100644 --- a/artiq/browser/experiments.py +++ b/artiq/browser/experiments.py @@ -309,6 +309,7 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow): self._run_task.add_done_callback(done) async def _get_run_task(self, expid): + logger.info("Running '%s'...", self.expurl) worker = Worker(self._area.worker_handlers) try: await worker.build(rid=None, pipeline_name="browser", @@ -318,6 +319,8 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow): except: logger.error("Failed to run '%s'", self.expurl) log_worker_exception() + else: + logger.info("Finished running '%s'", self.expurl) finally: await worker.close()