diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-24 23:31:35 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-24 23:31:35 +0100 |
commit | 43beaba0dcca396c3e5707b37f0208067291fdee (patch) | |
tree | 9faaf321b0f983b2500645f82068e83651829d8e | |
parent | ec12f5e019fff246fa2827fc4175803758870e14 (diff) | |
parent | 72c1c89bcd4228e77e1d0e42a6e57eaacd5c0a1a (diff) | |
download | nextcloud-server-43beaba0dcca396c3e5707b37f0208067291fdee.tar.gz nextcloud-server-43beaba0dcca396c3e5707b37f0208067291fdee.zip |
Merge pull request #15171 from owncloud/sabre-logforbiddenasdebug
Log forbidden in debug level
-rw-r--r-- | lib/private/connector/sabre/exceptionloggerplugin.php | 3 |
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 */ |