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 backportbot[bot]
parent e229cd3d53
commit 098d918baf

View file

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