Catching Throwable instead of Exception
This commit is contained in:
parent
8755f2e108
commit
9249d49d54
|
@ -2,6 +2,7 @@
|
||||||
namespace ATF;
|
namespace ATF;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
use Throwable;
|
||||||
use Amp;
|
use Amp;
|
||||||
use taskman;
|
use taskman;
|
||||||
|
|
||||||
|
@ -383,7 +384,7 @@ class Plan
|
||||||
yield $this->_checkExtStatusAsync($task, $timeout);
|
yield $this->_checkExtStatusAsync($task, $timeout);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Throwable $e)
|
||||||
{
|
{
|
||||||
$last_error = $e->getMessage();
|
$last_error = $e->getMessage();
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue