diff --git a/mailpoet/lib/Automation/Engine/Control/StepRunLogger.php b/mailpoet/lib/Automation/Engine/Control/StepRunLogger.php index c02f780008..798b7c55cc 100644 --- a/mailpoet/lib/Automation/Engine/Control/StepRunLogger.php +++ b/mailpoet/lib/Automation/Engine/Control/StepRunLogger.php @@ -64,7 +64,10 @@ class StepRunLogger { } 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 {