fix set error report

This commit is contained in:
Tomas Votruba 2019-10-09 11:19:51 +01:00
parent 1372df4cf2
commit b5b2358849

View File

@ -27,10 +27,10 @@ foreach ($setProvider->provide() as $setName) {
$process = new Process($command, __DIR__ . '/..');
echo sprintf('Set "%s" is OK' . PHP_EOL, $setName);
try {
$process->mustRun();
echo sprintf('Set "%s" is OK' . PHP_EOL, $setName);
} catch (ProcessFailedException $processFailedException) {
if (! Strings::match($processFailedException->getMessage(), '#(Fatal error)|(\[ERROR\])#')) {
continue;