Catching Throwable instead of Exception
This commit is contained in:
parent
8755f2e108
commit
9249d49d54
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue