Add log to stuck error
Publish PHP Package / docker (push) Successful in 7s Details

This commit is contained in:
Светлана Горбунова 2024-04-09 10:45:31 +03:00
parent 4860ff9923
commit a1aaf267bd
1 changed files with 2 additions and 2 deletions

View File

@ -353,12 +353,12 @@ class Plan
$this->_postScreenToMessenger($task); $this->_postScreenToMessenger($task);
if($task->getLastFatalProblem() == Task::CODE_EXCEPTION || if($task->getLastFatalProblem() == Task::CODE_EXCEPTION)
$task->getLastFatalProblem() == Task::CODE_STUCK)
{ {
yield $this->_postLastReplayToMessengerAsync($task); yield $this->_postLastReplayToMessengerAsync($task);
} }
else if($task->getLastFatalProblem() == Task::CODE_GONE || else if($task->getLastFatalProblem() == Task::CODE_GONE ||
$task->getLastFatalProblem() == Task::CODE_STUCK ||
$task->getLastFatalProblem() == Task::CODE_HUNG) $task->getLastFatalProblem() == Task::CODE_HUNG)
{ {
$app_log = get_logcat_unity($this->session->conf->atf_host, $task->device, 300); $app_log = get_logcat_unity($this->session->conf->atf_host, $task->device, 300);