Merge pull request #15171 from owncloud/sabre-logforbiddenasdebug

Log forbidden in debug level
This commit is contained in:
Thomas Müller 2015-03-24 23:31:35 +01:00
commit 43beaba0dc
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
// exactly the same time from two clients, only one client
// wins, the second one gets "Precondition failed"
'Sabre\DAV\Exception\PreconditionFailed' => true,
// forbidden can be expected when trying to upload to
// read-only folders for example
'Sabre\DAV\Exception\Forbidden' => true,
);
/** @var string */