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:
authorRobin Appelman <robin@icewind.nl>2018-07-09 15:25:54 +0300
committerRobin Appelman <robin@icewind.nl>2018-07-09 15:25:54 +0300
commit8399d6070e5307332c8b6dccda19981482f0999a (patch)
tree46e2c06786bc16f94a3902ec87323e306c9da5c2 /apps/dav/lib/Connector/Sabre/File.php
parentecbc1b10aec9cad95b2818077dd38738fe96fee9 (diff)
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);
}