summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-12-17 17:28:19 +0100
committerMorris Jobke <hey@morrisjobke.de>2019-01-04 20:04:13 +0100
commit1d2d7fd60d7f663310dc05088f01fea8144eeb2e (patch)
tree8c4d6fa5a87963708e1d533350b618ff61609c68 /apps/dav/appinfo/v1
parentfa6c25708455d061da20178d021674ebb661c297 (diff)
downloadnextcloud-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.php5
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!