Use completedAt timestamp for success and failures
[MAILPOET-4463]
This commit is contained in:
committed by
Jan Jakeš
parent
57cf547a8a
commit
2c2f15a562
@ -123,8 +123,8 @@ class StepHandler {
|
||||
$log = new WorkflowRunLog($workflowRun->getId(), $step->getId(), $args);
|
||||
try {
|
||||
$this->stepRunners[$stepType]->run($step, $workflow, $workflowRun);
|
||||
$log->markCompleted();
|
||||
} catch (Exception $e) {
|
||||
$log->markCompletedSuccessfully();
|
||||
} catch (\Exception $e) {
|
||||
$log->markFailed();
|
||||
$log->addError($e);
|
||||
throw $e;
|
||||
|
Reference in New Issue
Block a user