From a1aaf267bda5124f821d01ed6816124e674d77db Mon Sep 17 00:00:00 2001 From: altise Date: Tue, 9 Apr 2024 10:45:31 +0300 Subject: [PATCH] Add log to stuck error --- plan.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plan.inc.php b/plan.inc.php index cf4fb8d..cbd1f19 100644 --- a/plan.inc.php +++ b/plan.inc.php @@ -353,12 +353,12 @@ class Plan $this->_postScreenToMessenger($task); - if($task->getLastFatalProblem() == Task::CODE_EXCEPTION || - $task->getLastFatalProblem() == Task::CODE_STUCK) + if($task->getLastFatalProblem() == Task::CODE_EXCEPTION) { yield $this->_postLastReplayToMessengerAsync($task); } else if($task->getLastFatalProblem() == Task::CODE_GONE || + $task->getLastFatalProblem() == Task::CODE_STUCK || $task->getLastFatalProblem() == Task::CODE_HUNG) { $app_log = get_logcat_unity($this->session->conf->atf_host, $task->device, 300);