Skip to content

Commit

Permalink
Merge pull request #10162 from nextcloud/sabre-put-log-exception
Browse files Browse the repository at this point in the history
always log exceptions on dav write
  • Loading branch information
MorrisJobke committed Jul 9, 2018
2 parents 6afb8af + 8399d60 commit 5244501
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dav/lib/Connector/Sabre/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ public function put($data) {
}

} catch (\Exception $e) {
\OC::$server->getLogger()->logException($e);
if ($needsPartFile) {
$partStorage->unlink($internalPartPath);
}
Expand Down

0 comments on commit 5244501

Please sign in to comment.