Merge pull request #10162 from nextcloud/sabre-put-log-exception

always log exceptions on dav write
This commit is contained in:
Morris Jobke 2018-07-09 15:48:58 +02:00 committed by GitHub
commit 5244501f0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}