mirror of
https://github.com/nextcloud/server.git
synced 2026-04-05 09:06:35 -04:00
fix: Log exceptions thrown by setup checks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
a0a957c961
commit
0ea2913ac3
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ class SetupCheckManager implements ISetupCheckManager {
|
|||
$setupResult = $setupCheckObject->run();
|
||||
} catch (\Throwable $t) {
|
||||
$setupResult = SetupResult::error("An exception occured while running the setup check:\n$t");
|
||||
$this->logger->error('Exception running check '.get_class($setupCheckObject).': '.$t->getMessage(), ['exception' => $t]);
|
||||
}
|
||||
$setupResult->setName($setupCheckObject->getName());
|
||||
$category = $setupCheckObject->getCategory();
|
||||
|
|
|
|||
Loading…
Reference in a new issue