From c8b7fa3028f6709060b6ad122d6c2fa5488618d5 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 27 Apr 2017 21:48:06 +0200 Subject: [PATCH] dont spam log when request can't access filesystem Signed-off-by: Robin Appelman --- lib/base.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/base.php b/lib/base.php index 7bd14de56b662..8edb9bd77024c 100644 --- a/lib/base.php +++ b/lib/base.php @@ -828,6 +828,8 @@ public static function registerCacheHooks() { } 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