Ensure automation progress runs log data also at their start

[MAILPOET-4977]
This commit is contained in:
Jan Jakes
2024-04-25 22:20:14 +02:00
committed by Aschepikov
parent 25a35e17bf
commit 7eb17c9e09

View File

@@ -64,7 +64,10 @@ class StepRunLogger {
} }
public function logStart(): void { public function logStart(): void {
$this->getLog(); $log = $this->getLog();
$log->setStatus(AutomationRunLog::STATUS_RUNNING);
$log->setUpdatedAt(new DateTimeImmutable());
$this->automationRunLogStorage->updateAutomationRunLog($log);
} }
public function logStepData(Step $step): void { public function logStepData(Step $step): void {