1
0
Fork 0
mirror of https://github.com/Findus23/matomo-DiagnosticsExtended.git synced 2024-09-19 16:03:46 +02:00

don't show warning if php version check didn't work

This commit is contained in:
Lukas Winkler 2021-04-15 11:39:56 +02:00
parent d639402a53
commit c8d8ab7cd8
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -124,7 +124,8 @@ class PhpVersionCheck implements Diagnostic
));
}
} catch (\Exception $e) {
$this->logger->warning($e);
$this->logger->info("failed to check PHP version");
$this->logger->info($e);
return [$this->testCouldNotRunResult()];
}
return [$results];