summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-04-27 21:48:06 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-28 17:01:31 -0300
commitd9258567873035bc6a4eabadfa96ecb803f6594a (patch)
tree3c46322f0912c46bb4834d97c61a1228d6d59105
parentd4e5b1bf14a9dfd0a4ac09285d6e8e073f8a2d74 (diff)
downloadnextcloud-server-d9258567873035bc6a4eabadfa96ecb803f6594a.tar.gz
nextcloud-server-d9258567873035bc6a4eabadfa96ecb803f6594a.zip
dont spam log when request can't access filesystem
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--lib/base.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 3ca4775dbe2..41e4ef9573c 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -806,6 +806,8 @@ class OC {
} catch (\OC\ServerNotAvailableException $e) {
// not a GC exception, pass it on
throw $e;
+ } catch (\OC\ForbiddenException $e) {
+ // filesystem blocked for this request, ignore
} catch (\Exception $e) {
// a GC exception should not prevent users from using OC,
// so log the exception