diff --git a/commands/multi.go b/commands/multi.go index fd32de0e076f236043356fb6f5c4c2d0258747ae..9149d280f769f8c2d2f2a70f42a9a2626f72c0ad 100644 --- a/commands/multi.go +++ b/commands/multi.go @@ -146,11 +146,6 @@ func (mr *RunCommand) processRunner(id int, runner *common.RunnerConfig, runners executorData, releaseFn, err := mr.acquireRunnerResources(provider, runner) if err != nil { - mr.log().WithFields(logrus.Fields{ - "runner": runner.ShortDescription(), - "executor": runner.Executor, - }).WithError(err). - Warn("Failed to acquire runner resource") return } defer releaseFn() @@ -255,7 +250,11 @@ func (mr *RunCommand) processRunners(id int, stopWorker chan bool, runners chan case runner := <-runners: err := mr.processRunner(id, runner, runners) if err != nil { - logrus.WithError(err).Error("Failed to process runner") + mr.log().WithFields(logrus.Fields{ + "runner": runner.ShortDescription(), + "executor": runner.Executor, + }).WithError(err). + Error("Failed to process runner") } // force GC cycle after processing build