def on_failure(self, exception):

        traceback_string = traceback.format_exc()
        return "Runtime error:\n%s" % traceback_string
Override for custom error handling.
dataset/ETHPy150Open spotify/luigi/luigi/task.py/Task.on_failure