Previously if a task was run as a dependency of another task,
the error message simply reported something like:
exit status 1
It is desirable instead to name the root task and all child tasks in the tree
to the failing task.
After this PR, the error message will read:
task: Failed to run task "root": task: Failed to run task "failing-task": exit status 1
|
||
|---|---|---|
| .. | ||
| TestPrecondition-a_precondition_has_been_met.golden | ||
| TestPrecondition-a_precondition_was_not_met-err-run.golden | ||
| TestPrecondition-a_precondition_was_not_met.golden | ||
| TestPrecondition-precondition_in_cmd_fails_the_task-err-run.golden | ||
| TestPrecondition-precondition_in_cmd_fails_the_task.golden | ||
| TestPrecondition-precondition_in_dependency_fails_the_task-err-run.golden | ||
| TestPrecondition-precondition_in_dependency_fails_the_task.golden | ||