Example #1
0
 def failTask(self, reason, task):
     task = task.thaw()
     task.times.ticks += 1
     task.status = JobStatus.from_failure(reason,
             "Fatal error in task runner")
     self.forwardTaskStatus(task)
Example #2
0
 def failTask(self, reason, logIt=True):
     if logIt:
         logger.logFailure(reason, "Fatal error in task runner:")
     self.sendStatus(JobStatus.from_failure(reason,
             "Fatal error in task runner"))