I use Luigi to run some kind of conveyor. Take a simple example
task = myTask() w = Worker(scheduler=CentralPlannerScheduler(), worker_processes=1) w.add(task) w.run()
Now let's say that myTask raises an exception at runtime. All I have is a journal from luigi showing an exception.
Is there any way luigi could spread it or at least return failure status?
Then I could make my program respond to this condition.
Thanks.
EDIT I forgot to indicate that the luigi outputs are targeted to the database when I save the result. If an exception occurs, the result is not saved, but the exception does not apply to luigi. I was wondering if luigi has this.
source share