summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/exceptionloggerplugin.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-03-24 22:08:11 +0100
committerVincent Petry <pvince81@owncloud.com>2015-03-24 22:08:11 +0100
commit72c1c89bcd4228e77e1d0e42a6e57eaacd5c0a1a (patch)
tree71031c0d743b0a4b1b0175254de09b6e9b0fabd0 /lib/private/connector/sabre/exceptionloggerplugin.php
parentcc2092a511c3d09ac2e0eb0d4bf75a58f6f4366b (diff)
downloadnextcloud-server-72c1c89bcd4228e77e1d0e42a6e57eaacd5c0a1a.tar.gz
nextcloud-server-72c1c89bcd4228e77e1d0e42a6e57eaacd5c0a1a.zip
Log forbidden in debug level
Diffstat (limited to 'lib/private/connector/sabre/exceptionloggerplugin.php')
-rw-r--r--lib/private/connector/sabre/exceptionloggerplugin.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/connector/sabre/exceptionloggerplugin.php b/lib/private/connector/sabre/exceptionloggerplugin.php
index a0dc6e7c182..efef6ea9a54 100644
--- a/lib/private/connector/sabre/exceptionloggerplugin.php
+++ b/lib/private/connector/sabre/exceptionloggerplugin.php
@@ -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 */