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 95b5542 + e43c938 commit f9c9e27Copy full SHA for f9c9e27
apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -593,9 +593,11 @@ public function createShare(
593
try {
594
$share = $this->shareManager->createShare($share);
595
} catch (GenericShareException $e) {
596
+ \OC::$server->getLogger()->logException($e);
597
$code = $e->getCode() === 0 ? 403 : $e->getCode();
598
throw new OCSException($e->getHint(), $code);
599
} catch (\Exception $e) {
600
601
throw new OCSForbiddenException($e->getMessage(), $e);
602
}
603
0 commit comments