task icon indicating copy to clipboard operation
task copied to clipboard

fix: Task failure errors include stack of running tasks.

Open GrahamDennis opened this issue 6 months ago • 0 comments

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

Additionally, task errors did not use the task's label name when present, which they now will.

GrahamDennis avatar Jun 08 '25 06:06 GrahamDennis