Merge pull request #45758 from nextcloud/backport/45120/stable28

[stable28] fix(dav): Don't log access control as error
This commit is contained in:
Daniel 2024-06-10 14:55:16 +02:00 committed by GitHub
commit c750ed66a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,9 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
// forbidden can be expected when trying to upload to
// read-only folders for example
Forbidden::class => true,
// our forbidden is expected when access control is blocking
// an item in a folder
\OCA\DAV\Connector\Sabre\Exception\Forbidden::class => true,
// Happens when an external storage or federated share is temporarily
// not available
StorageNotAvailableException::class => true,