From 9f04af63e60dbf05c2ceebbdb8d69defae6e5b53 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 14 Oct 2015 16:02:22 +0800 Subject: [PATCH] scheduler: raise logging severity of errors --- artiq/master/scheduler.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/artiq/master/scheduler.py b/artiq/master/scheduler.py index 41abce3db..de4f80af6 100644 --- a/artiq/master/scheduler.py +++ b/artiq/master/scheduler.py @@ -228,9 +228,9 @@ class PrepareStage(TaskObject): await run.build() await run.prepare() except: - logger.warning("got worker exception in prepare stage, " - "deleting RID %d", - run.rid, exc_info=True) + logger.error("got worker exception in prepare stage, " + "deleting RID %d", + run.rid, exc_info=True) self.delete_cb(run.rid) else: run.status = RunStatus.prepare_done @@ -278,9 +278,9 @@ class RunStage(TaskObject): run.status = RunStatus.running completed = await run.run() except: - logger.warning("got worker exception in run stage, " - "deleting RID %d", - run.rid, exc_info=True) + logger.error("got worker exception in run stage, " + "deleting RID %d", + run.rid, exc_info=True) self.delete_cb(run.rid) else: if completed: @@ -316,9 +316,9 @@ class AnalyzeStage(TaskObject): await run.analyze() await run.write_results() except: - logger.warning("got worker exception in analyze stage, " - "deleting RID %d", - run.rid, exc_info=True) + logger.error("got worker exception in analyze stage, " + "deleting RID %d", + run.rid, exc_info=True) self.delete_cb(run.rid) else: self.delete_cb(run.rid)