Log RuntimeException in CleanupCardDAVPhotoCache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
c208ea49d4
commit
f7a6f4527e
|
@ -64,7 +64,10 @@ class CleanupCardDAVPhotoCache implements IRepairStep {
|
|||
private function repair(IOutput $output): void {
|
||||
try {
|
||||
$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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue