refactor: logging

This commit is contained in:
Folke Lemaitre 2024-06-26 18:31:31 +02:00
parent 765773a176
commit 6c7ef7e27a
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
10 changed files with 130 additions and 80 deletions

View file

@ -96,7 +96,7 @@ function Runner:_start()
wait_step = s.step
elseif not running then
local plugin = self:plugin(name)
if s.task and s.task.error then
if s.task and s.task:has_errors() then
active = active - 1
elseif s.step == #self._pipeline then
s.task = nil