summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-23 12:11:53 +0100
committerVincent Petry <pvince81@owncloud.com>2014-01-27 11:40:17 +0100
commit11ef12a1060f3e34312ae40c690f95765d7c5f89 (patch)
treeb270925af62a00bef1a5e77448db4fa0a42cf388 /apps/files/appinfo
parent0daabe5b6a2f96e8b754c2414bb83d00277a307a (diff)
downloadnextcloud-server-11ef12a1060f3e34312ae40c690f95765d7c5f89.tar.gz
nextcloud-server-11ef12a1060f3e34312ae40c690f95765d7c5f89.zip
Added exception logger plugin for sabre connector
Whenever an exception occurs in the sabre connector code or code called by it, it will be logged. This plugin approach is needed because Sabre already catches exceptions to return them to the client in the XML response, so they don't appear logged in the web server log. This will make it much easier to debug syncing issues.
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/remote.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php
index 9f290796205..ef22fe92188 100644
--- a/apps/files/appinfo/remote.php
+++ b/apps/files/appinfo/remote.php
@@ -52,6 +52,7 @@ $server->addPlugin(new OC_Connector_Sabre_FilesPlugin());
$server->addPlugin(new OC_Connector_Sabre_AbortedUploadDetectionPlugin());
$server->addPlugin(new OC_Connector_Sabre_QuotaPlugin());
$server->addPlugin(new OC_Connector_Sabre_MaintenancePlugin());
+$server->addPlugin(new OC_Connector_Sabre_ExceptionLoggerPlugin('webdav'));
// And off we go!
$server->exec();