]> source.dussan.org Git - nextcloud-server.git/commitdiff
Log forbidden in debug level
authorVincent Petry <pvince81@owncloud.com>
Tue, 24 Mar 2015 21:08:11 +0000 (22:08 +0100)
committerVincent Petry <pvince81@owncloud.com>
Tue, 24 Mar 2015 21:08:11 +0000 (22:08 +0100)
lib/private/connector/sabre/exceptionloggerplugin.php

index a0dc6e7c1829d81c846fa5bbd013b973d44f7025..efef6ea9a5485dc45a153fe091ed9bb36585b1e5 100644 (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 */