Handle doit tasks errors
For now, a doit task error does not make nbcourse
throwing an error.
See for example https://gitlab.math.unistra.fr/espe-cs/cours-python/-/jobs/23664.
nbcourse
should raise an Exception (at the end) if one of the tasks raise an Exception.