dont spam log when request can't access filesystem
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
d4e5b1bf14
commit
d925856787
|
@ -806,6 +806,8 @@ class OC {
|
||||||
} catch (\OC\ServerNotAvailableException $e) {
|
} catch (\OC\ServerNotAvailableException $e) {
|
||||||
// not a GC exception, pass it on
|
// not a GC exception, pass it on
|
||||||
throw $e;
|
throw $e;
|
||||||
|
} catch (\OC\ForbiddenException $e) {
|
||||||
|
// filesystem blocked for this request, ignore
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
// a GC exception should not prevent users from using OC,
|
// a GC exception should not prevent users from using OC,
|
||||||
// so log the exception
|
// so log the exception
|
||||||
|
|
Loading…
Reference in New Issue