I am using Luigi to launch some pipeline. Let's take a simple exemple
task = myTask()
w = Worker(scheduler=CentralPlannerScheduler(), worker_processes=1)
w.add(task)
w.run()
Now let's say that myTask
is raising an exception during execution. All that I am able to have is a log from luigi showing the exception.
Is there any way that luigi could propagate it or at least return a failure
status ?
I would then be able to make my programm react in function of that state.
Thanks.
EDIT I forgot to specify that luigi's outputs are targetting a database when I am storing the result. If an exception is raised, no result are stored but the exception is not propagated out a luigi. I was wondering if luigi have an option to have this.