summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/File.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-07-09 14:25:54 +0200
committerRobin Appelman <robin@icewind.nl>2018-07-09 14:25:54 +0200
commit8399d6070e5307332c8b6dccda19981482f0999a (patch)
tree46e2c06786bc16f94a3902ec87323e306c9da5c2 /apps/dav/lib/Connector/Sabre/File.php
parentecbc1b10aec9cad95b2818077dd38738fe96fee9 (diff)
downloadnextcloud-server-8399d6070e5307332c8b6dccda19981482f0999a.tar.gz
nextcloud-server-8399d6070e5307332c8b6dccda19981482f0999a.zip
always log exceptions on dav write
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/File.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/File.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php
index ed1dbe5469e..e46bdcb2984 100644
--- a/apps/dav/lib/Connector/Sabre/File.php
+++ b/apps/dav/lib/Connector/Sabre/File.php
@@ -193,6 +193,7 @@ class File extends Node implements IFile {
}
} catch (\Exception $e) {
+ \OC::$server->getLogger()->logException($e);
if ($needsPartFile) {
$partStorage->unlink($internalPartPath);
}