diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-04-28 23:11:08 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-28 23:11:08 -0300 |
commit | 424d62d630ee0e0d0ca2ae63f99b54f0f8c9c3b6 (patch) | |
tree | fe189beea5cb8a33039502df491099ce6ca47e2d | |
parent | c4673224d11f2ba5b569ffbc13d4aed10c1180d2 (diff) | |
parent | d9258567873035bc6a4eabadfa96ecb803f6594a (diff) | |
download | nextcloud-server-424d62d630ee0e0d0ca2ae63f99b54f0f8c9c3b6.tar.gz nextcloud-server-424d62d630ee0e0d0ca2ae63f99b54f0f8c9c3b6.zip |
Merge pull request #4566 from nextcloud/cache-gc-no-fs
dont spam log when request can't access filesystem
-rw-r--r-- | lib/base.php | 2 |
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 |