From 13e65c2a0a75320d3b595df36ea20144ed8366c7 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 16 Jan 2016 02:20:32 +0000 Subject: [PATCH] scheduler: make sure worker exceptions are not unexpectedly hidden. --- artiq/master/scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/master/scheduler.py b/artiq/master/scheduler.py index 294c2364a..42a3b083d 100644 --- a/artiq/master/scheduler.py +++ b/artiq/master/scheduler.py @@ -231,7 +231,7 @@ class PrepareStage(TaskObject): except: logger.error("got worker exception in prepare stage, " "deleting RID %d", run.rid) - logger.debug("worker exception details", exc_info=True) + logger.error("worker exception details", exc_info=True) self.delete_cb(run.rid) else: run.status = RunStatus.prepare_done @@ -281,7 +281,7 @@ class RunStage(TaskObject): except: logger.error("got worker exception in run stage, " "deleting RID %d", run.rid) - logger.debug("worker exception details", exc_info=True) + logger.info("worker exception details", exc_info=True) self.delete_cb(run.rid) else: if completed: