Add proper message to created share not found

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2021-04-22 08:14:48 +02:00 committed by John Molakvoæ (Rebase PR Action)
parent 7ab39effd3
commit 18f8fabd5a

View file

@ -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();