mirror of
https://github.com/nextcloud/server.git
synced 2026-05-20 00:49:19 -04:00
Merge pull request #4622 from nextcloud/cache-gc-no-fs-11
[11] dont spam log when request can't access filesystem
This commit is contained in:
commit
398013b1a5
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue