Log RuntimeException in CleanupCardDAVPhotoCache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
b693487d64
commit
cbecc1f8cf
|
@ -64,7 +64,10 @@ class CleanupCardDAVPhotoCache implements IRepairStep {
|
||||||
private function repair(IOutput $output): void {
|
private function repair(IOutput $output): void {
|
||||||
try {
|
try {
|
||||||
$folders = $this->appData->getDirectoryListing();
|
$folders = $this->appData->getDirectoryListing();
|
||||||
} catch (NotFoundException|RuntimeException $e) {
|
} catch (NotFoundException $e) {
|
||||||
|
return;
|
||||||
|
} catch (RuntimeException $e) {
|
||||||
|
$this->logger->logException($e, ['message' => 'Failed to fetch directory listing in CleanupCardDAVPhotoCache']);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue