diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-03-24 22:08:11 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-03-24 22:08:11 +0100 |
commit | 72c1c89bcd4228e77e1d0e42a6e57eaacd5c0a1a (patch) | |
tree | 71031c0d743b0a4b1b0175254de09b6e9b0fabd0 | |
parent | cc2092a511c3d09ac2e0eb0d4bf75a58f6f4366b (diff) | |
download | nextcloud-server-72c1c89bcd4228e77e1d0e42a6e57eaacd5c0a1a.tar.gz nextcloud-server-72c1c89bcd4228e77e1d0e42a6e57eaacd5c0a1a.zip |
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 */ |