mirror of https://github.com/m-labs/artiq.git
scheduler: raise logging severity of errors
This commit is contained in:
parent
c00bce3967
commit
9f04af63e6
|
@ -228,7 +228,7 @@ class PrepareStage(TaskObject):
|
||||||
await run.build()
|
await run.build()
|
||||||
await run.prepare()
|
await run.prepare()
|
||||||
except:
|
except:
|
||||||
logger.warning("got worker exception in prepare stage, "
|
logger.error("got worker exception in prepare stage, "
|
||||||
"deleting RID %d",
|
"deleting RID %d",
|
||||||
run.rid, exc_info=True)
|
run.rid, exc_info=True)
|
||||||
self.delete_cb(run.rid)
|
self.delete_cb(run.rid)
|
||||||
|
@ -278,7 +278,7 @@ class RunStage(TaskObject):
|
||||||
run.status = RunStatus.running
|
run.status = RunStatus.running
|
||||||
completed = await run.run()
|
completed = await run.run()
|
||||||
except:
|
except:
|
||||||
logger.warning("got worker exception in run stage, "
|
logger.error("got worker exception in run stage, "
|
||||||
"deleting RID %d",
|
"deleting RID %d",
|
||||||
run.rid, exc_info=True)
|
run.rid, exc_info=True)
|
||||||
self.delete_cb(run.rid)
|
self.delete_cb(run.rid)
|
||||||
|
@ -316,7 +316,7 @@ class AnalyzeStage(TaskObject):
|
||||||
await run.analyze()
|
await run.analyze()
|
||||||
await run.write_results()
|
await run.write_results()
|
||||||
except:
|
except:
|
||||||
logger.warning("got worker exception in analyze stage, "
|
logger.error("got worker exception in analyze stage, "
|
||||||
"deleting RID %d",
|
"deleting RID %d",
|
||||||
run.rid, exc_info=True)
|
run.rid, exc_info=True)
|
||||||
self.delete_cb(run.rid)
|
self.delete_cb(run.rid)
|
||||||
|
|
Loading…
Reference in New Issue