diff --git a/plan.inc.php b/plan.inc.php index 15c3643..626f84a 100644 --- a/plan.inc.php +++ b/plan.inc.php @@ -251,7 +251,15 @@ class Plan while(!$this->isOver()) { - $this->_updateMessengerThread(false); + try + { + //let's not exit the testing just because we couldn't update IM thread for some reason + $this->_updateMessengerThread(false); + } + catch(\Throwable $e) + { + err("Task #{$task->run_id} IM thread update error: {$e} *{$task->device}*..."); + } yield Amp\delay((int)($this->session->conf->sleep_time*1000));