Catching Throwable instead of Exception

This commit is contained in:
Pavel Shevaev 2023-11-10 10:19:25 +03:00
parent 8755f2e108
commit 9249d49d54
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
namespace ATF;
use Exception;
use Throwable;
use Amp;
use taskman;
@ -383,7 +384,7 @@ class Plan
yield $this->_checkExtStatusAsync($task, $timeout);
break;
}
catch(Exception $e)
catch(Throwable $e)
{
$last_error = $e->getMessage();
continue;