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);