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.
2 parents ad3f882 + 2aced4a commit 94ad4fcCopy full SHA for 94ad4fc
apps/dav/lib/Connector/Sabre/File.php
@@ -213,7 +213,9 @@ public function put($data) {
213
try {
214
/** @var IWriteStreamStorage $partStorage */
215
$count = $partStorage->writeStream($internalPartPath, $wrappedData);
216
- } catch (GenericFileException) {
+ } catch (GenericFileException $e) {
217
+ $logger = Server::get(LoggerInterface::class);
218
+ $logger->error('Error while writing stream to storage: ' . $e->getMessage(), ['exception' => $e, 'app' => 'webdav']);
219
$result = $isEOF;
220
if (is_resource($wrappedData)) {
221
$result = feof($wrappedData);
0 commit comments