Skip to content

Commit c536052

Browse files
committed
fix: Catch expected NotFoundException
Assisted-by: ClaudeCode:claude-sonnet-5 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent 60f4e84 commit c536052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_sharing/lib/Controller/ShareInfoController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace OCA\Files_Sharing\Controller;
99

10-
use OCA\Files_External\NotFoundException;
1110
use OCA\Files_Sharing\ResponseDefinitions;
1211
use OCP\AppFramework\ApiController;
1312
use OCP\AppFramework\Http;
@@ -20,6 +19,7 @@
2019
use OCP\Files\File;
2120
use OCP\Files\Folder;
2221
use OCP\Files\Node;
22+
use OCP\Files\NotFoundException;
2323
use OCP\IRequest;
2424
use OCP\Share\Exceptions\ShareNotFound;
2525
use OCP\Share\IManager;

0 commit comments

Comments
 (0)