always log exceptions on dav write

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2018-07-09 14:25:54 +02:00
parent ecbc1b10ae
commit 8399d6070e
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ class File extends Node implements IFile {
}
} catch (\Exception $e) {
\OC::$server->getLogger()->logException($e);
if ($needsPartFile) {
$partStorage->unlink($internalPartPath);
}