diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-23 12:11:53 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-27 11:40:17 +0100 |
commit | 11ef12a1060f3e34312ae40c690f95765d7c5f89 (patch) | |
tree | b270925af62a00bef1a5e77448db4fa0a42cf388 /apps/files/appinfo | |
parent | 0daabe5b6a2f96e8b754c2414bb83d00277a307a (diff) | |
download | nextcloud-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.php | 1 |
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(); |