mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 09:08:22 -04:00
Add proper message to created share not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
7ab39effd3
commit
18f8fabd5a
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue