mirror of https://github.com/m-labs/artiq.git
scheduler: make sure worker exceptions are not unexpectedly hidden.
This commit is contained in:
parent
6bf48e60ba
commit
13e65c2a0a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue