diff --git a/main.go b/main.go index ea78975..9a445a0 100644 --- a/main.go +++ b/main.go @@ -55,7 +55,7 @@ func (site *Site) run() error { for _, task := range site.Tasks { err := site.runTask(task) if err != nil { - return err + return fmt.Errorf("task %q: %w", task.Name, err) } } return nil