def METHOD_NAME(self, line, task_name, task_id, result):
    self.ready.add(task_id)
    self.results[task_id] = result
    if 'succeeded' not in result:
        self.task_error(line, task_name, task_id, result)