Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add proper message to created share not found
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv authored and backportbot[bot] committed Oct 13, 2021
commit f70c17cbcfa1707f2d2054f3beb8ed18461dd3b6
2 changes: 1 addition & 1 deletion lib/private/Share20/DefaultShareProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function create(\OCP\Share\IShare $share) {
$cursor->closeCursor();

if ($data === false) {
throw new ShareNotFound();
throw new ShareNotFound('Newly created share could not be found');
}

$mailSendValue = $share->getMailSend();
Expand Down