fix: workflow engine reporting "error" in status screen even when it's
"waiting"
This commit is contained in:
parent
8e36c9ef13
commit
7f87da35f6
2 changed files with 3 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ sub run {
|
|||
if ($status eq "complete") {
|
||||
$self->set({lastStatus=>"complete", "currentActivityId"=>$activity->getId, notifySpectre=>0});
|
||||
} else {
|
||||
$self->set({lastStatus=>"error", notifySpectre=>0});
|
||||
$self->set({lastStatus=>$status, notifySpectre=>0});
|
||||
}
|
||||
return $status;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue