fix: workflow engine reporting "error" in status screen even when it's

"waiting"
This commit is contained in:
JT Smith 2007-09-20 00:17:03 +00:00
parent 8e36c9ef13
commit 7f87da35f6
2 changed files with 3 additions and 1 deletions

View file

@ -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;
}