]> source.dussan.org Git - nextcloud-server.git/commit
Add catch for RuntimeException
authorDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 17 May 2019 19:04:01 +0000 (21:04 +0200)
committerBackportbot <backportbot-noreply@rullzer.com>
Tue, 16 Jul 2019 06:06:01 +0000 (06:06 +0000)
commitc208ea49d41256822f3ed63765e949f34f056530
treebc6796c2da4865ac3786ad5aaf1c9de4bd7d40c1
parent988df2d2e983aeead7ae8dbe892fff3a4ff36423
Add catch for RuntimeException

getDirectoryListing can throw a NotFoundException or a RuntimeException.
The repair step should be skipped if the cache directory is missing so
a catch for both exceptions is required.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
lib/private/Repair/NC16/CleanupCardDAVPhotoCache.php