mirror of
https://github.com/go-task/task.git
synced 2026-08-29 01:58:56 +02:00
feat: Improve verbose logging - print failed task (#2240)
This commit is contained in:
1
task.go
1
task.go
@@ -272,6 +272,7 @@ func (e *Executor) RunTask(ctx context.Context, call *Call) error {
|
||||
e.Logger.VerboseErrf(logger.Yellow, "task: task error ignored: %v\n", err)
|
||||
continue
|
||||
}
|
||||
e.Logger.VerboseErrf(logger.Red, "task: %q failed: %v\n", call.Task, err)
|
||||
deferredExitCode = uint8(exitCode)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user