diff --git a/cmd/registry/tasks/tasks.go b/cmd/registry/tasks/tasks.go index c12c23cb9..e1a0626c3 100644 --- a/cmd/registry/tasks/tasks.go +++ b/cmd/registry/tasks/tasks.go @@ -60,7 +60,7 @@ func WorkerPool(ctx context.Context, n int, continueOnError bool) (chan<- Task, f := func() error { err := t.Run(ctx) if err != nil { - log.FromContext(ctx).WithError(err).Warnf("task failed: %s", task) + log.FromContext(ctx).WithError(err).Warnf("task failed: %s", t) } return err }