Ignoring errors which may occur when updating the IM thread during testing
Publish PHP Package / docker (push) Successful in 5s Details

This commit is contained in:
Pavel Shevaev 2024-09-26 10:56:20 +03:00
parent 69267565b1
commit 7c3f74772e
1 changed files with 9 additions and 1 deletions

View File

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