diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-12-17 17:28:19 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-01-04 20:04:13 +0100 |
commit | 1d2d7fd60d7f663310dc05088f01fea8144eeb2e (patch) | |
tree | 8c4d6fa5a87963708e1d533350b618ff61609c68 /apps/dav/appinfo/v1 | |
parent | fa6c25708455d061da20178d021674ebb661c297 (diff) | |
download | nextcloud-server-1d2d7fd60d7f663310dc05088f01fea8144eeb2e.tar.gz nextcloud-server-1d2d7fd60d7f663310dc05088f01fea8144eeb2e.zip |
Log failure on parsing
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/dav/appinfo/v1')
-rw-r--r-- | apps/dav/appinfo/v1/carddav.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php index e55eee610ef..a424d7afab9 100644 --- a/apps/dav/appinfo/v1/carddav.php +++ b/apps/dav/appinfo/v1/carddav.php @@ -84,7 +84,10 @@ if ($debugging) { $server->addPlugin(new \Sabre\DAV\Sync\Plugin()); $server->addPlugin(new \Sabre\CardDAV\VCFExportPlugin()); -$server->addPlugin(new \OCA\DAV\CardDAV\ImageExportPlugin(new \OCA\DAV\CardDAV\PhotoCache(\OC::$server->getAppDataDir('dav-photocache')))); +$server->addPlugin(new \OCA\DAV\CardDAV\ImageExportPlugin(new \OCA\DAV\CardDAV\PhotoCache( + \OC::$server->getAppDataDir('dav-photocache'), + \OC::$server->getLogger() +))); $server->addPlugin(new ExceptionLoggerPlugin('carddav', \OC::$server->getLogger())); // And off we go! |