Ensure automation progress runs log data also at their start
[MAILPOET-4977]
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user