From 4860ff992306cb57f83eab902c80f772b38aae76 Mon Sep 17 00:00:00 2001 From: altise Date: Tue, 2 Apr 2024 15:33:01 +0300 Subject: [PATCH] Add replay message for stuck error --- plan.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) {