def add_failure(self, task, exception):
        self.t_results[task.name].set_result('fail', exception.get_msg())
called when excution finishes with a failure
dataset/ETHPy150Open pydoit/doit/doit/reporter.py/JsonReporter.add_failure