Add replay message for stuck error
Publish PHP Package / docker (push) Successful in 6s Details

This commit is contained in:
Светлана Горбунова 2024-04-02 15:33:01 +03:00
parent a22244e980
commit 4860ff9923
1 changed files with 4 additions and 1 deletions

View File

@ -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)
{