From d9258567873035bc6a4eabadfa96ecb803f6594a 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 3ca4775dbe..41e4ef9573 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