aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-10-13 11:40:59 +0200
committerGitHub <noreply@github.com>2021-10-13 11:40:59 +0200
commitb585cf1ea1baeb7bbfaf22953e48bbd33e8381fa (patch)
treef21d9aa66d284dfbb3bb3445a471429e1a4d112e /lib/private/Share20
parent4cae2cc06cdaadb797ab6bedc6dc4da8b90f85c9 (diff)
parente3fa68682dc7f6c154f6ccedaab311ef4be82804 (diff)
downloadnextcloud-server-b585cf1ea1baeb7bbfaf22953e48bbd33e8381fa.tar.gz
nextcloud-server-b585cf1ea1baeb7bbfaf22953e48bbd33e8381fa.zip
Merge pull request #26688 from nextcloud/enh/better-share-exceptiondebug
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/DefaultShareProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php
index 96958a32a63..85655c4e379 100644
--- a/lib/private/Share20/DefaultShareProvider.php
+++ b/lib/private/Share20/DefaultShareProvider.php
@@ -222,7 +222,7 @@ class DefaultShareProvider implements IShareProvider {
$cursor->closeCursor();
if ($data === false) {
- throw new ShareNotFound();
+ throw new ShareNotFound('Newly created share could not be found');
}
$mailSendValue = $share->getMailSend();