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 8d6a4be + f109677 commit e09d59aCopy full SHA for e09d59a
apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -631,9 +631,11 @@ public function createShare(
631
try {
632
$share = $this->shareManager->createShare($share);
633
} catch (GenericShareException $e) {
634
+ \OC::$server->getLogger()->logException($e);
635
$code = $e->getCode() === 0 ? 403 : $e->getCode();
636
throw new OCSException($e->getHint(), $code);
637
} catch (\Exception $e) {
638
639
throw new OCSForbiddenException($e->getMessage(), $e);
640
}
641
0 commit comments