Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-23 15:11:53 +0400
committerVincent Petry <pvince81@owncloud.com>2014-01-28 17:19:13 +0400
commit301e4988a1f42c80ce1e755f82dff6976efb425d (patch)
tree4dd0fd35e5af86950ce7b316ce7d1b555df0b774 /apps/files
parente6391d84a19924f8b9b58738bdb07c2c5ae496f0 (diff)
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. Backport of 11ef12a to stable6
Diffstat (limited to 'apps/files')
-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();