diff options
-rw-r--r-- | apps/files_sharing/lib/external/storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/external/storage.php b/apps/files_sharing/lib/external/storage.php index 3284a60172f..dc8d1738b05 100644 --- a/apps/files_sharing/lib/external/storage.php +++ b/apps/files_sharing/lib/external/storage.php @@ -253,7 +253,7 @@ class Storage extends DAV implements ISharedStorage { // throw this to be on the safe side: the share will still be visible // in the UI in case the failure is intermittent, and the user will // be able to decide whether to remove it if it's really gone - throw new NotFoundException(); + throw new StorageNotAvailableException(); } return json_decode($response->getBody(), true); |