Skip to content

Commit

Permalink
Merge pull request #45757 from nextcloud/backport/45120/stable27
Browse files Browse the repository at this point in the history
[stable27] fix(dav): Don't log access control as error
  • Loading branch information
nickvergessen authored Jun 10, 2024
2 parents 6c92419 + e5d0a7b commit 14743e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,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,
Expand Down

0 comments on commit 14743e0

Please sign in to comment.