diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-04-22 08:14:48 +0200 |
---|---|---|
committer | John Molakvoæ (Rebase PR Action) <skjnldsv@users.noreply.github.com> | 2021-08-18 12:47:11 +0000 |
commit | 18f8fabd5a67cde220688d97cc0bf8c2f1c4b2e3 (patch) | |
tree | edaef208132549bb08425147aa030f2538401755 /lib/private/Share20 | |
parent | 7ab39effd3d8d1ead9fac5bd475da024826b07c5 (diff) | |
download | nextcloud-server-18f8fabd5a67cde220688d97cc0bf8c2f1c4b2e3.tar.gz nextcloud-server-18f8fabd5a67cde220688d97cc0bf8c2f1c4b2e3.zip |
Add proper message to created share not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r-- | lib/private/Share20/DefaultShareProvider.php | 2 |
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(); |