diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-11 11:53:31 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-11 11:53:31 +0100 |
commit | 0f3e36fdfd1c57f5212c495d59b0e5964df8a4ac (patch) | |
tree | 83e5af893f29ffa91459a77417edce15c4f99c46 /apps/files/appinfo | |
parent | cfaee93552b519b8e017e63fd5a82b1e5c9f951b (diff) | |
download | nextcloud-server-0f3e36fdfd1c57f5212c495d59b0e5964df8a4ac.tar.gz nextcloud-server-0f3e36fdfd1c57f5212c495d59b0e5964df8a4ac.zip |
Adding a more meaningful message for sabre dav exception - fixes #14516
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/remote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index f631e47b5f6..e260f85fdb0 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -40,7 +40,7 @@ $server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend, $defaults->getName() $server->addPlugin(new \OC\Connector\Sabre\DummyGetResponsePlugin()); $server->addPlugin(new \OC\Connector\Sabre\FilesPlugin($objectTree)); $server->addPlugin(new \OC\Connector\Sabre\MaintenancePlugin()); -$server->addPlugin(new \OC\Connector\Sabre\ExceptionLoggerPlugin('webdav')); +$server->addPlugin(new \OC\Connector\Sabre\ExceptionLoggerPlugin('webdav', \OC::$server->getLogger())); // wait with registering these until auth is handled and the filesystem is setup $server->on('beforeMethod', function () use ($server, $objectTree) { |