mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Update apps/dav/lib/Connector/Sabre/File.php
Signed-off-by: Kate <26026535+provokateurin@users.noreply.github.com>
This commit is contained in:
parent
ca432b8157
commit
22848f7725
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ class File extends Node implements IFile {
|
|||
/** @var IWriteStreamStorage $partStorage */
|
||||
$count = $partStorage->writeStream($internalPartPath, $wrappedData);
|
||||
} catch (GenericFileException $e) {
|
||||
$logger = Server::get(LoggerInterface::class);
|
||||
$logger = \OCP\Server::get(LoggerInterface::class);
|
||||
$logger->error('Error while writing stream to storage: ' . $e->getMessage(), ['exception' => $e, 'app' => 'webdav']);
|
||||
$result = $isEOF;
|
||||
if (is_resource($wrappedData)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue