We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14cc8d3 commit b9b8db6Copy full SHA for b9b8db6
apps/dav/lib/Connector/Sabre/File.php
@@ -216,7 +216,9 @@ public function put($data) {
216
try {
217
/** @var IWriteStreamStorage $partStorage */
218
$count = $partStorage->writeStream($internalPartPath, $wrappedData);
219
- } catch (GenericFileException) {
+ } catch (GenericFileException $e) {
220
+ $logger = Server::get(LoggerInterface::class);
221
+ $logger->error('Error while writing stream to storage: ' . $e->getMessage(), ['exception' => $e, 'app' => 'webdav']);
222
$result = $isEOF;
223
if (is_resource($wrappedData)) {
224
$result = feof($wrappedData);
0 commit comments