def add_failure(self, task, exception):
        self.failures.append({'task': task, 'exception':exception})
called when excution finishes with a failure
dataset/ETHPy150Open pydoit/doit/doit/reporter.py/ConsoleReporter.add_failure