diff --git a/plan.inc.php b/plan.inc.php index ec3923e..cf4fb8d 100644 --- a/plan.inc.php +++ b/plan.inc.php @@ -353,8 +353,11 @@ class Plan $this->_postScreenToMessenger($task); - if($task->getLastFatalProblem() == Task::CODE_EXCEPTION) + if($task->getLastFatalProblem() == Task::CODE_EXCEPTION || + $task->getLastFatalProblem() == Task::CODE_STUCK) + { yield $this->_postLastReplayToMessengerAsync($task); + } else if($task->getLastFatalProblem() == Task::CODE_GONE || $task->getLastFatalProblem() == Task::CODE_HUNG) {