diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-13 14:13:16 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-17 10:39:52 +0100 |
commit | e2cfcd992cf6f4bb5f1cdb9070d3d0ea2a1504e2 (patch) | |
tree | 5808454fe5247f027d6244697b794a7307e5be4b /lib/private/files | |
parent | 705d208a8aba55cdb509380db19a0b4e2413d1eb (diff) | |
download | nextcloud-server-e2cfcd992cf6f4bb5f1cdb9070d3d0ea2a1504e2.tar.gz nextcloud-server-e2cfcd992cf6f4bb5f1cdb9070d3d0ea2a1504e2.zip |
Allow storage wrappers to through a forbidden exception with retry information
Diffstat (limited to 'lib/private/files')
-rw-r--r-- | lib/private/files/cache/scanner.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php index 35043029dc3..983e12d7639 100644 --- a/lib/private/files/cache/scanner.php +++ b/lib/private/files/cache/scanner.php @@ -432,6 +432,8 @@ class Scanner extends BasicEmitter { // skip unavailable storages } catch (\OCP\Files\StorageNotAvailableException $e) { // skip unavailable storages + } catch (\OCP\Files\ForbiddenException $e) { + // skip forbidden storages } catch (\OCP\Lock\LockedException $e) { // skip unavailable storages } |