Skip to content

Commit

Permalink
Merge pull request #29021 from nextcloud/work/smb/additional-logging
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Oct 25, 2021
2 parents 317d973 + 365f5e4 commit 9356124
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/files_external/lib/Lib/Storage/SMB.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ protected function getFolderContents($path): iterable {
try {
$files = $this->share->dir($path);
} catch (ForbiddenException $e) {
$this->logger->critical($e->getMessage(), ['exception' => $e]);
throw new NotPermittedException();
}
foreach ($files as $file) {
Expand Down

0 comments on commit 9356124

Please sign in to comment.