]> source.dussan.org Git - nextcloud-server.git/commitdiff
dont spam log when request can't access filesystem 4622/head
authorRobin Appelman <robin@icewind.nl>
Thu, 27 Apr 2017 19:48:06 +0000 (21:48 +0200)
committerRobin Appelman <robin@icewind.nl>
Mon, 1 May 2017 13:03:09 +0000 (15:03 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/base.php

index 7bd14de56b662bb6b2eee3b3a655da2f6b0c65e7..8edb9bd77024c60ff956b0b5ca4d79a3848839b4 100644 (file)
@@ -828,6 +828,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