отправляем аллерт в канал слака в случае застревания

This commit is contained in:
n.pankin 2022-10-05 17:26:01 +03:00
parent 9a9d7c90eb
commit f511d19d52
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ class ATFPlan
$resp = atf_slack_post($slack_msg, array('thread_ts' => $task->slack_thread_ts));
if(isset($resp['ok']) && $item['error'] == ATFTask::CODE_EXCEPTION)
if(isset($resp['ok']) && $item['error'] == ATFTask::CODE_EXCEPTION || $item['error'] == ATFTask::CODE_STUCK)
$this->session->tryShareToQAChannel($resp['ts'], $orig_msg);
}