Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Log RuntimeException in CleanupCardDAVPhotoCache
Signed-off-by: Morris Jobke <[email protected]>
  • Loading branch information
MorrisJobke authored and Backportbot committed Jul 16, 2019
commit f7a6f4527e55c8d02ffcd8e5a8078b0560fc2e71
5 changes: 4 additions & 1 deletion lib/private/Repair/NC16/CleanupCardDAVPhotoCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ public function getName(): string {
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;
}

Expand Down