mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -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
e229cd3d53
commit
098d918baf
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,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