summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-09 15:48:58 +0200
committerGitHub <noreply@github.com>2018-07-09 15:48:58 +0200
commit5244501f0f327c33630631ef79bdec894a308588 (patch)
tree836b9c9623b8870f8927141e4c03e182529acb99
parent6afb8af4d1e625a44a0f2e142503eb3a585efb8b (diff)
parent8399d6070e5307332c8b6dccda19981482f0999a (diff)
downloadnextcloud-server-5244501f0f327c33630631ef79bdec894a308588.tar.gz
nextcloud-server-5244501f0f327c33630631ef79bdec894a308588.zip
Merge pull request #10162 from nextcloud/sabre-put-log-exception
always log exceptions on dav write
-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);
}