Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-10-25 14:25:04 +0300
committerGitHub <noreply@github.com>2021-10-25 14:25:04 +0300
commit93561247008c0f4eb1340c9a5f48d908a4fcda72 (patch)
tree6bf7c2a23a0d2e63cc6fe444eff36d7d1dd91463
parent317d97309fa3fcf7fe8cea8d39679d0e41f9313e (diff)
parent365f5e425fc1c1c877d2b75164d16b292abd1b20 (diff)
Merge pull request #29021 from nextcloud/work/smb/additional-logging
-rw-r--r--apps/files_external/lib/Lib/Storage/SMB.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php
index c9d078631b8..28a2d6de7cc 100644
--- a/apps/files_external/lib/Lib/Storage/SMB.php
+++ b/apps/files_external/lib/Lib/Storage/SMB.php
@@ -239,6 +239,7 @@ class SMB extends Common implements INotifyStorage {
try {
$files = $this->share->dir($path);
} catch (ForbiddenException $e) {
+ $this->logger->critical($e->getMessage(), ['exception' => $e]);
throw new NotPermittedException();
}
foreach ($files as $file) {